Fixed margin issues on admonition

This commit is contained in:
squidfunk
2017-12-12 21:39:52 +01:00
committed by Martin Donath
parent 39badcb543
commit 96678bd30f
4 changed files with 4 additions and 9 deletions

View File

@@ -39,13 +39,8 @@
font-size: ms(-1);
overflow: auto;
// Remove spacing on first element
:first-child {
margin-top: 0;
}
// Adjust spacing on last element
html & :last-child {
html & > :last-child {
margin-bottom: 1.2rem;
}