Merge pull request #2124 from ZhenShuo2021/fix/footnote

🐛 Fix: prevent header from blocking footnotes links
This commit is contained in:
Nuno Coração
2025-05-27 00:21:46 +01:00
committed by GitHub
2 changed files with 11 additions and 0 deletions

View File

@@ -1344,6 +1344,9 @@ body.zen-mode-enable {
.shrink-0 {
flex-shrink: 0;
}
.flex-grow {
flex-grow: 1;
}
.grow {
flex-grow: 1;
}
@@ -3859,6 +3862,9 @@ pre {
height: 0px;
visibility: hidden;
}
[id^="fn"], [id^="fnref"] {
scroll-margin-top: 145px;
}
@screen sm {
.thumbnail {
min-width: 100%;

View File

@@ -440,6 +440,11 @@ pre {
visibility: hidden;
}
/* Offset scroll position to avoid header overlap */
[id^="fn"], [id^="fnref"] {
scroll-margin-top: 145px;
}
@screen sm {
.thumbnail {
min-width: 100%;