1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-23 23:21:00 +01:00

Fixed spacing for admonitions inside lists (8.1.1 regression)

This commit is contained in:
squidfunk 2021-12-15 09:46:03 +01:00
parent eebcc31bd1
commit be24342a70
4 changed files with 5 additions and 5 deletions

View File

@ -34,7 +34,7 @@
{% endif %}
{% endblock %}
{% 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 %}
{% set palette = config.theme.palette %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.e6a45f82.min.css' | url }}">

View File

@ -114,7 +114,7 @@ $admonitions: (
}
// Admonition title
:where(.admonition-title, summary) {
:is(.admonition-title, summary) {
position: relative;
margin-block: 0;
margin-inline: px2rem(-16px) px2rem(-12px);
@ -167,7 +167,7 @@ $admonitions: (
}
// 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);
border-color: $tint;