From 2d8854ba749d9f87051ecbbaeaf876eb166df738 Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Fri, 11 Sep 2020 23:25:54 +0800 Subject: [PATCH] Fix the overlap of footnote in vertical direction. (#123) --- assets/css/_addon/main.scss | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/assets/css/_addon/main.scss b/assets/css/_addon/main.scss index 8a09541..5043bd3 100644 --- a/assets/css/_addon/main.scss +++ b/assets/css/_addon/main.scss @@ -662,7 +662,11 @@ kbd { } sup { - @extend %anchor; + z-index: 1; + &:target { + @extend %anchor; + z-index: 0; + } } .footnotes ol { @@ -1101,7 +1105,7 @@ div.post-content .table-wrapper { justify-content: center!important; } - sup { + sup:target { padding-top: 3.4rem; }