1
0
forked from SPC/spc-site

Fix ul having too much bottom margin as last child in blockquote

This commit is contained in:
GregTheMadMonk 2022-09-27 02:08:55 +03:00
parent 6da4a70a1a
commit 6f6960f8b8
2 changed files with 7 additions and 1 deletions

View File

@ -180,6 +180,8 @@ blockquote {
font-style: italic; font-style: italic;
margin: 0 0 2em 0; margin: 0 0 2em 0;
padding: 0.5em 0 0.5em 2em; } padding: 0.5em 0 0.5em 2em; }
blockquote ul:last-child {
margin-bottom: .25em; }
code { code {
background: rgba(212, 212, 255, 0.035); background: rgba(212, 212, 255, 0.035);

View File

@ -126,6 +126,10 @@
font-style: italic; font-style: italic;
margin: 0 0 _size(element-margin) 0; margin: 0 0 _size(element-margin) 0;
padding: (_size(element-margin) / 4) 0 (_size(element-margin) / 4) _size(element-margin); padding: (_size(element-margin) / 4) 0 (_size(element-margin) / 4) _size(element-margin);
ul:last-child {
margin-bottom: .25em;
}
} }
code { code {
@ -170,4 +174,4 @@
.align-right { .align-right {
text-align: right; text-align: right;
} }