mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed spacing for admonitions inside lists (8.1.1 regression)
This commit is contained in:
parent
eebcc31bd1
commit
be24342a70
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -34,7 +34,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block styles %}
|
{% block styles %}
|
||||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.f8ff4087.min.css' | url }}">
|
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.fd7b1be2.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.e6a45f82.min.css' | url }}">
|
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.e6a45f82.min.css' | url }}">
|
||||||
|
@ -114,7 +114,7 @@ $admonitions: (
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Admonition title
|
// Admonition title
|
||||||
:where(.admonition-title, summary) {
|
:is(.admonition-title, summary) {
|
||||||
position: relative;
|
position: relative;
|
||||||
margin-block: 0;
|
margin-block: 0;
|
||||||
margin-inline: px2rem(-16px) px2rem(-12px);
|
margin-inline: px2rem(-16px) px2rem(-12px);
|
||||||
@ -167,7 +167,7 @@ $admonitions: (
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Admonition flavour title
|
// Admonition flavour title
|
||||||
.md-typeset :where(#{$flavours}) > :where(.admonition-title, summary) {
|
.md-typeset :where(#{$flavours}) > :is(.admonition-title, summary) {
|
||||||
background-color: color.adjust($tint, $alpha: -0.9);
|
background-color: color.adjust($tint, $alpha: -0.9);
|
||||||
border-color: $tint;
|
border-color: $tint;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user