UX: Adjust list and onebox margins (#13131)

Lists – made the indent smaller (helps on mobile), added vertical margin
Onebox – added top margin
This commit is contained in:
Jarek Radosz 2021-05-26 05:52:33 +02:00 committed by GitHub
parent a5fddd5cdb
commit 494fe7f2f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 6 deletions

View File

@ -95,7 +95,7 @@ a.loading-onebox {
aside.onebox {
border: 5px solid var(--primary-low);
margin-bottom: 1em;
margin: 1em 0;
padding: 1em;
font-size: $font-0;
background: var(--secondary);

View File

@ -63,7 +63,7 @@ hr {
ul,
dd {
margin: 0 0 9px 25px;
margin: 1em 0 1em 1.25em;
padding: 0;
}
@ -75,14 +75,15 @@ dd {
.cooked ul,
.d-editor-preview ul {
margin: 0;
padding-left: 40px;
padding-left: 1.25em;
}
li {
li,
.cooked li,
.d-editor-preview li {
> ul,
> ol {
margin-bottom: 0;
margin: 0;
}
}