Removed display: flow-root on list elements

This commit is contained in:
squidfunk 2021-03-29 19:21:47 +02:00
parent 13b584b466
commit c011da1fa4
6 changed files with 7 additions and 5 deletions

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

@ -39,7 +39,7 @@
{% endif %} {% endif %}
{% endblock %} {% endblock %}
{% block styles %} {% block styles %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.33e2939f.min.css' | url }}"> <link rel="stylesheet" href="{{ 'assets/stylesheets/main.fdf4365a.min.css' | url }}">
{% if config.theme.palette %} {% if config.theme.palette %}
{% set palette = config.theme.palette %} {% set palette = config.theme.palette %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.ef6f36e2.min.css' | url }}"> <link rel="stylesheet" href="{{ 'assets/stylesheets/palette.ef6f36e2.min.css' | url }}">

View File

@ -83,7 +83,6 @@ kbd {
figure, figure,
blockquote, blockquote,
pre { pre {
display: flow-root;
margin: 1em 0; margin: 1em 0;
} }
@ -217,6 +216,7 @@ kbd {
// Unformatted content // Unformatted content
pre { pre {
position: relative; position: relative;
display: flow-root;
line-height: 1.4; line-height: 1.4;
// Code block // Code block
@ -344,6 +344,7 @@ kbd {
// Blockquotes, possibly nested // Blockquotes, possibly nested
blockquote { blockquote {
display: flow-root;
padding-left: px2rem(12px); padding-left: px2rem(12px);
color: var(--md-default-fg-color--light); color: var(--md-default-fg-color--light);
border-left: px2rem(4px) solid var(--md-default-fg-color--lighter); border-left: px2rem(4px) solid var(--md-default-fg-color--lighter);
@ -457,6 +458,7 @@ kbd {
// Figure // Figure
figure { figure {
display: flow-root;
width: fit-content; width: fit-content;
max-width: 100%; max-width: 100%;
margin: 0 auto; margin: 0 auto;