mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed Safari sidebar height bug
This commit is contained in:
parent
6c42611aa2
commit
ea81720a52
1
material/assets/stylesheets/application-408828a02a.css
Normal file
1
material/assets/stylesheets/application-408828a02a.css
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -39,7 +39,7 @@
|
|||||||
<script src="{{ base_url }}/assets/javascripts/modernizr-e826f8942a.js"></script>
|
<script src="{{ base_url }}/assets/javascripts/modernizr-e826f8942a.js"></script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block styles %}
|
{% block styles %}
|
||||||
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-a20f419c8e.css">
|
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-408828a02a.css">
|
||||||
{% if config.extra.palette %}
|
{% if config.extra.palette %}
|
||||||
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-23f75ab9c7.palette.css">
|
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-23f75ab9c7.palette.css">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -112,7 +112,7 @@ hr {
|
|||||||
|
|
||||||
// Increase top spacing of content area to give typography more room
|
// Increase top spacing of content area to give typography more room
|
||||||
&__inner {
|
&__inner {
|
||||||
min-height: 100%;
|
height: 100%;
|
||||||
padding-top: 2.4rem + 0.6rem;
|
padding-top: 2.4rem + 0.6rem;
|
||||||
// Hack: induce margin-collapse, because otherwise the sidebar height is
|
// Hack: induce margin-collapse, because otherwise the sidebar height is
|
||||||
// not calculated correctly and the overflow property on this element must
|
// not calculated correctly and the overflow property on this element must
|
||||||
|
Loading…
Reference in New Issue
Block a user