From 9d260e6e74d0c5686c34ae95f3f0ff0056c4bb81 Mon Sep 17 00:00:00 2001 From: afc163 Date: Fri, 4 Jan 2019 22:44:18 +0800 Subject: [PATCH] :memo: site: fix BackTop been covered by footer close #14093 --- site/theme/static/footer.less | 2 +- site/theme/static/toc.less | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/site/theme/static/footer.less b/site/theme/static/footer.less index 1ea525bdee..23dd463d13 100644 --- a/site/theme/static/footer.less +++ b/site/theme/static/footer.less @@ -7,7 +7,7 @@ footer { font-size: 14px; background-color: #000; position: relative; - z-index: 100; + z-index: 9; margin-left: -1px; color: rgba(255, 255, 255, 0.65); diff --git a/site/theme/static/toc.less b/site/theme/static/toc.less index 46b79211cf..c401c24622 100644 --- a/site/theme/static/toc.less +++ b/site/theme/static/toc.less @@ -52,8 +52,10 @@ ul.toc > li { background: #fff; overflow: auto; max-height: ~'calc(100vh - 16px)'; + z-index: 9; } } + .toc-affix-bottom { position: absolute; bottom: 88px;