Browse Source

📝 site: fix BackTop been covered by footer

close #14093
pull/14105/head
afc163 6 years ago
committed by 偏右
parent
commit
9d260e6e74
  1. 2
      site/theme/static/footer.less
  2. 2
      site/theme/static/toc.less

2
site/theme/static/footer.less

@ -7,7 +7,7 @@ footer {
font-size: 14px; font-size: 14px;
background-color: #000; background-color: #000;
position: relative; position: relative;
z-index: 100; z-index: 9;
margin-left: -1px; margin-left: -1px;
color: rgba(255, 255, 255, 0.65); color: rgba(255, 255, 255, 0.65);

2
site/theme/static/toc.less

@ -52,8 +52,10 @@ ul.toc > li {
background: #fff; background: #fff;
overflow: auto; overflow: auto;
max-height: ~'calc(100vh - 16px)'; max-height: ~'calc(100vh - 16px)';
z-index: 9;
} }
} }
.toc-affix-bottom { .toc-affix-bottom {
position: absolute; position: absolute;
bottom: 88px; bottom: 88px;

Loading…
Cancel
Save