Skip to content

Commit ed527bf

Browse files
committed
Fix the overlap of footnote in vertical direction. (cotes2020#123)
1 parent 41c221f commit ed527bf

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

assets/css/_addon/main.scss

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,11 @@ kbd {
662662
}
663663

664664
sup {
665-
@extend %anchor;
665+
z-index: 1;
666+
&:target {
667+
@extend %anchor;
668+
z-index: 0;
669+
}
666670
}
667671

668672
.footnotes ol {
@@ -1101,7 +1105,7 @@ div.post-content .table-wrapper {
11011105
justify-content: center!important;
11021106
}
11031107

1104-
sup {
1108+
sup:target {
11051109
padding-top: 3.4rem;
11061110
}
11071111

0 commit comments

Comments
 (0)