mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Reset scroll margin for footnotes
This commit is contained in:
parent
fed4146fa0
commit
0f1b640c0d
@ -5,8 +5,8 @@
|
||||
"assets/javascripts/vendor.js.map": "assets/javascripts/vendor.877163d5.min.js.map",
|
||||
"assets/javascripts/worker/search.js": "assets/javascripts/worker/search.a68abb33.min.js",
|
||||
"assets/javascripts/worker/search.js.map": "assets/javascripts/worker/search.a68abb33.min.js.map",
|
||||
"assets/stylesheets/main.css": "assets/stylesheets/main.d49d26fc.min.css",
|
||||
"assets/stylesheets/main.css.map": "assets/stylesheets/main.d49d26fc.min.css.map",
|
||||
"assets/stylesheets/main.css": "assets/stylesheets/main.5a89d9ca.min.css",
|
||||
"assets/stylesheets/main.css.map": "assets/stylesheets/main.5a89d9ca.min.css.map",
|
||||
"assets/stylesheets/overrides.css": "assets/stylesheets/overrides.0ad0ad40.min.css",
|
||||
"assets/stylesheets/overrides.css.map": "assets/stylesheets/overrides.0ad0ad40.min.css.map",
|
||||
"assets/stylesheets/palette.css": "assets/stylesheets/palette.87445083.min.css",
|
||||
|
File diff suppressed because one or more lines are too long
1
material/assets/stylesheets/main.5a89d9ca.min.css.map
Normal file
1
material/assets/stylesheets/main.5a89d9ca.min.css.map
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -41,7 +41,7 @@
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% block styles %}
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.d49d26fc.min.css' | url }}">
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.5a89d9ca.min.css' | url }}">
|
||||
{% if palette.scheme or palette.primary or palette.accent %}
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.87445083.min.css' | url }}">
|
||||
{% endif %}
|
||||
|
@ -43,6 +43,7 @@
|
||||
margin-top: -1 * px2rem(48px + 12px + 16px);
|
||||
padding-top: px2rem(48px + 12px + 16px);
|
||||
pointer-events: none;
|
||||
scroll-margin-top: initial;
|
||||
}
|
||||
}
|
||||
|
||||
@ -56,6 +57,11 @@
|
||||
content: "";
|
||||
}
|
||||
|
||||
// Reset, as we use the anchor-correction hack here.
|
||||
&:target {
|
||||
scroll-margin-top: initial;
|
||||
}
|
||||
|
||||
// Targeted anchor
|
||||
&:target::before {
|
||||
display: block;
|
||||
|
Loading…
Reference in New Issue
Block a user