Fixed top- and bottom spacing of paragraphs inside tables

This commit is contained in:
squidfunk 2020-07-30 20:19:15 +02:00
parent 6e47fe8a6e
commit 6579e1d77d
7 changed files with 22 additions and 7 deletions

View File

@ -5,8 +5,8 @@
"assets/javascripts/vendor.js.map": "assets/javascripts/vendor.877163d5.min.js.map", "assets/javascripts/vendor.js.map": "assets/javascripts/vendor.877163d5.min.js.map",
"assets/javascripts/worker/search.js": "assets/javascripts/worker/search.1b3b2620.min.js", "assets/javascripts/worker/search.js": "assets/javascripts/worker/search.1b3b2620.min.js",
"assets/javascripts/worker/search.js.map": "assets/javascripts/worker/search.1b3b2620.min.js.map", "assets/javascripts/worker/search.js.map": "assets/javascripts/worker/search.1b3b2620.min.js.map",
"assets/stylesheets/main.css": "assets/stylesheets/main.18dbb20c.min.css", "assets/stylesheets/main.css": "assets/stylesheets/main.4107d900.min.css",
"assets/stylesheets/main.css.map": "assets/stylesheets/main.18dbb20c.min.css.map", "assets/stylesheets/main.css.map": "assets/stylesheets/main.4107d900.min.css.map",
"assets/stylesheets/overrides.css": "assets/stylesheets/overrides.f63bc39a.min.css", "assets/stylesheets/overrides.css": "assets/stylesheets/overrides.f63bc39a.min.css",
"assets/stylesheets/overrides.css.map": "assets/stylesheets/overrides.f63bc39a.min.css.map", "assets/stylesheets/overrides.css.map": "assets/stylesheets/overrides.f63bc39a.min.css.map",
"assets/stylesheets/palette.css": "assets/stylesheets/palette.0ec9b792.min.css", "assets/stylesheets/palette.css": "assets/stylesheets/palette.0ec9b792.min.css",

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -41,7 +41,7 @@
{% endif %} {% endif %}
{% endblock %} {% endblock %}
{% block styles %} {% block styles %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.18dbb20c.min.css' | url }}"> <link rel="stylesheet" href="{{ 'assets/stylesheets/main.4107d900.min.css' | url }}">
{% if palette.scheme or palette.primary or palette.accent %} {% if palette.scheme or palette.primary or palette.accent %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.0ec9b792.min.css' | url }}"> <link rel="stylesheet" href="{{ 'assets/stylesheets/palette.0ec9b792.min.css' | url }}">
{% endif %} {% endif %}

View File

@ -448,6 +448,21 @@ kbd {
margin-top: 1.5em; margin-top: 1.5em;
} }
// Elements inside cells
th > *,
td > * {
// Remove top spacing of first child
&:first-child {
margin-top: 0;
}
// Remove bottom spacing of last child
&:last-child {
margin-bottom: 0;
}
}
// Table headings and cells // Table headings and cells
th:not([align]), th:not([align]),
td:not([align]) { td:not([align]) {