Skip to content

Commit c6e1597

Browse files
committed
Fixed margins for nested inline admonitions
1 parent 1627439 commit c6e1597

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

material/assets/stylesheets/main.6e4c7934.min.css renamed to material/assets/stylesheets/main.2c0c5eaf.min.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

material/assets/stylesheets/main.2c0c5eaf.min.css.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

material/assets/stylesheets/main.6e4c7934.min.css.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

material/base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
{% endif %}
4040
{% endblock %}
4141
{% block styles %}
42-
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.6e4c7934.min.css' | url }}">
42+
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.2c0c5eaf.min.css' | url }}">
4343
{% if config.theme.palette %}
4444
{% set palette = config.theme.palette %}
4545
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.7fa14f5b.min.css' | url }}">

src/assets/stylesheets/main/extensions/markdown/_admonition.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,10 @@ $admonitions: (
8383
border-left: none;
8484
}
8585

86-
// Adjust spacing for nested admonitions
86+
// Adjust horizontal spacing for nested admonitions
8787
.admonition {
88-
margin: 1em 0;
88+
margin-top: 1em;
89+
margin-bottom: 1em;
8990
}
9091

9192
// Adjust spacing for contained table wrappers

0 commit comments

Comments
 (0)