mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 11:52:45 +08:00
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:
parent
a5fddd5cdb
commit
494fe7f2f6
|
@ -95,7 +95,7 @@ a.loading-onebox {
|
||||||
|
|
||||||
aside.onebox {
|
aside.onebox {
|
||||||
border: 5px solid var(--primary-low);
|
border: 5px solid var(--primary-low);
|
||||||
margin-bottom: 1em;
|
margin: 1em 0;
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
font-size: $font-0;
|
font-size: $font-0;
|
||||||
background: var(--secondary);
|
background: var(--secondary);
|
||||||
|
|
|
@ -63,7 +63,7 @@ hr {
|
||||||
|
|
||||||
ul,
|
ul,
|
||||||
dd {
|
dd {
|
||||||
margin: 0 0 9px 25px;
|
margin: 1em 0 1em 1.25em;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -75,14 +75,15 @@ dd {
|
||||||
|
|
||||||
.cooked ul,
|
.cooked ul,
|
||||||
.d-editor-preview ul {
|
.d-editor-preview ul {
|
||||||
margin: 0;
|
padding-left: 1.25em;
|
||||||
padding-left: 40px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
li {
|
li,
|
||||||
|
.cooked li,
|
||||||
|
.d-editor-preview li {
|
||||||
> ul,
|
> ul,
|
||||||
> ol {
|
> ol {
|
||||||
margin-bottom: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user