Fixed margin issues on admonition

This commit is contained in:
squidfunk 2017-12-12 21:39:52 +01:00 committed by Martin Donath
parent 39badcb543
commit 96678bd30f
4 changed files with 4 additions and 9 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -46,7 +46,7 @@
{% endif %} {% endif %}
{% endblock %} {% endblock %}
{% block styles %} {% block styles %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application.7a4cdee3.css"> <link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application.bcabdff3.css">
{% if palette.primary or palette.accent %} {% if palette.primary or palette.accent %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-palette.792431c1.css"> <link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-palette.792431c1.css">
{% endif %} {% endif %}

View File

@ -39,13 +39,8 @@
font-size: ms(-1); font-size: ms(-1);
overflow: auto; overflow: auto;
// Remove spacing on first element
:first-child {
margin-top: 0;
}
// Adjust spacing on last element // Adjust spacing on last element
html & :last-child { html & > :last-child {
margin-bottom: 1.2rem; margin-bottom: 1.2rem;
} }