mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed wrong box-sizing on nested admonitions
This commit is contained in:
parent
8fa834f73c
commit
0dd26b9eb3
File diff suppressed because one or more lines are too long
1
material/assets/stylesheets/main.816931ca.min.css.map
Normal file
1
material/assets/stylesheets/main.816931ca.min.css.map
Normal file
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 %}
|
||||
{% endblock %}
|
||||
{% block styles %}
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.cabc8684.min.css' | url }}">
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.816931ca.min.css' | url }}">
|
||||
{% if config.theme.palette %}
|
||||
{% set palette = config.theme.palette %}
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.9204c3b2.min.css' | url }}">
|
||||
|
@ -79,6 +79,12 @@ $admonitions: (
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
// Hack: Chrome exhibits a weird issue where it will set nested elements to
|
||||
// content-box. Doesn't happen in other browsers, so looks like a bug.
|
||||
> * {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
// Adjust for right-to-left languages
|
||||
[dir="rtl"] & {
|
||||
border-right: px2rem(4px) solid $clr-blue-a200;
|
||||
|
Loading…
Reference in New Issue
Block a user