mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 15:31:52 +00:00
Merge pull request #2124 from ZhenShuo2021/fix/footnote
🐛 Fix: prevent header from blocking footnotes links
This commit is contained in:
@@ -1344,6 +1344,9 @@ body.zen-mode-enable {
|
|||||||
.shrink-0 {
|
.shrink-0 {
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
|
.flex-grow {
|
||||||
|
flex-grow: 1;
|
||||||
|
}
|
||||||
.grow {
|
.grow {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
}
|
}
|
||||||
@@ -3859,6 +3862,9 @@ pre {
|
|||||||
height: 0px;
|
height: 0px;
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
|
[id^="fn"], [id^="fnref"] {
|
||||||
|
scroll-margin-top: 145px;
|
||||||
|
}
|
||||||
@screen sm {
|
@screen sm {
|
||||||
.thumbnail {
|
.thumbnail {
|
||||||
min-width: 100%;
|
min-width: 100%;
|
||||||
|
|||||||
@@ -440,6 +440,11 @@ pre {
|
|||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Offset scroll position to avoid header overlap */
|
||||||
|
[id^="fn"], [id^="fnref"] {
|
||||||
|
scroll-margin-top: 145px;
|
||||||
|
}
|
||||||
|
|
||||||
@screen sm {
|
@screen sm {
|
||||||
.thumbnail {
|
.thumbnail {
|
||||||
min-width: 100%;
|
min-width: 100%;
|
||||||
|
|||||||
Reference in New Issue
Block a user