🐛 Fix: prevent header from blocking footnotes links

This commit is contained in:
ZhenShuo Leo
2025-05-07 19:26:41 +08:00
parent 1d21656d5e
commit 45c5ddbdaf
2 changed files with 8 additions and 0 deletions

View File

@@ -3844,6 +3844,9 @@ pre {
height: 0px;
visibility: hidden;
}
[id^="fn"], [id^="fnref"] {
scroll-margin-top: 92px;
}
@screen sm {
.thumbnail {
min-width: 100%;

View File

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