mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Reset font-size on body for correct inline spacing
This commit is contained in:
parent
d088733747
commit
946f4f1509
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/application.18bd1ba2.css
Normal file
1
material/assets/stylesheets/application.18bd1ba2.css
Normal file
File diff suppressed because one or more lines are too long
@ -53,7 +53,7 @@
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% block styles %}
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/application.0279f501.css' | url }}">
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/application.18bd1ba2.css' | url }}">
|
||||
{% if palette.primary or palette.accent %}
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/application-palette.224b79ff.css' | url }}">
|
||||
{% endif %}
|
||||
@ -190,7 +190,7 @@
|
||||
{% endblock %}
|
||||
</div>
|
||||
{% block scripts %}
|
||||
<script src="{{ 'assets/javascripts/application.daa9a053.js' | url }}"></script>
|
||||
<script src="{{ 'assets/javascripts/application.c5c8ade4.js' | url }}"></script>
|
||||
{% if lang.t("search.language") != "en" %}
|
||||
{% set languages = lang.t("search.language").split(",") %}
|
||||
{% if languages | length and languages[0] != "" %}
|
||||
|
@ -64,6 +64,9 @@ html {
|
||||
body {
|
||||
position: relative;
|
||||
height: 100%;
|
||||
// Hack: reset font-size to 10px, so the spacing for all inline elements is
|
||||
// correct again. Otherwise the spacing would be based on 20px.
|
||||
font-size: 0.5rem;
|
||||
|
||||
// [tablet portrait -]: Lock body to disable scroll bubbling
|
||||
@include break-to-device(tablet portrait) {
|
||||
|
Loading…
Reference in New Issue
Block a user