1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-14 19:07:41 +01:00

Fixed specificity issue with admonitions in lists

This commit is contained in:
squidfunk 2021-11-28 22:23:08 +01:00
parent 674df04f8a
commit 8fa834f73c
6 changed files with 10 additions and 6 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

@ -34,7 +34,7 @@
{% endif %}
{% endblock %}
{% block styles %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.0cdf1fcc.min.css' | url }}">
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.cabc8684.min.css' | url }}">
{% if config.theme.palette %}
{% set palette = config.theme.palette %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.9204c3b2.min.css' | url }}">

View File

@ -346,11 +346,15 @@ kbd {
}
// Unordered and ordered list
:is(ul, ol):not([hidden]) {
display: flow-root;
:is(ul, ol) {
margin-left: px2em(10px);
padding: 0;
// Adjust display mode if not hidden
&:not([hidden]) {
display: flow-root;
}
// Adjust for right-to-left languages
[dir="rtl"] & {
margin-right: px2em(10px);