mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed sidebar jumping on page load on active anchor
This commit is contained in:
parent
a14c68e938
commit
3a0b776e39
@ -5,8 +5,8 @@
|
||||
"assets/javascripts/vendor.js.map": "assets/javascripts/vendor.8caa27b7.min.js.map",
|
||||
"assets/javascripts/worker/search.js": "assets/javascripts/worker/search.37585f48.min.js",
|
||||
"assets/javascripts/worker/search.js.map": "assets/javascripts/worker/search.37585f48.min.js.map",
|
||||
"assets/stylesheets/main.css": "assets/stylesheets/main.270f946c.min.css",
|
||||
"assets/stylesheets/main.css.map": "assets/stylesheets/main.270f946c.min.css.map",
|
||||
"assets/stylesheets/main.css": "assets/stylesheets/main.cc744bab.min.css",
|
||||
"assets/stylesheets/main.css.map": "assets/stylesheets/main.cc744bab.min.css.map",
|
||||
"assets/stylesheets/palette.css": "assets/stylesheets/palette.85bb4ebe.min.css",
|
||||
"assets/stylesheets/palette.css.map": "assets/stylesheets/palette.85bb4ebe.min.css.map"
|
||||
}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
material/assets/stylesheets/main.cc744bab.min.css.map
Normal file
1
material/assets/stylesheets/main.cc744bab.min.css.map
Normal file
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.270f946c.min.css' | url }}">
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.cc744bab.min.css' | url }}">
|
||||
{% if palette.primary or palette.accent %}
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.85bb4ebe.min.css' | url }}">
|
||||
{% endif %}
|
||||
|
@ -36,6 +36,7 @@ $md-toggle__drawer--checked:
|
||||
.md-sidebar {
|
||||
position: sticky;
|
||||
top: px2rem(48px);
|
||||
align-self: flex-start;
|
||||
width: px2rem(242px);
|
||||
padding: px2rem(24px) 0;
|
||||
overflow: hidden;
|
||||
|
Loading…
Reference in New Issue
Block a user