mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 13:09:33 -06:00
UX: Fix extra indent on lists when supporting mixed text direction (#15110)
This commit is contained in:
parent
f1178514fa
commit
a12b73f881
@ -55,21 +55,14 @@
|
||||
float: left !important;
|
||||
}
|
||||
|
||||
// This is for the support_mixed_text_direction setting
|
||||
.cooked ul[dir="ltr"],
|
||||
.d-editor-preview ul[dir="ltr"],
|
||||
.rtl .cooked ul[dir="rtl"],
|
||||
.rtl .d-editor-preview ul[dir="rtl"] {
|
||||
padding-left: 40px;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.cooked ul[dir="rtl"],
|
||||
.d-editor-preview ul[dir="rtl"],
|
||||
// For the support_mixed_text_direction setting
|
||||
html:not(.rtl) .cooked ul[dir="rtl"],
|
||||
html:not(.rtl) .d-editor-preview ul[dir="rtl"],
|
||||
.rtl .cooked ul[dir="ltr"],
|
||||
.rtl .d-editor-preview ul[dir="ltr"] {
|
||||
padding-left: 0;
|
||||
padding-right: 40px;
|
||||
padding-right: 1.25em;
|
||||
margin-right: 1.25em;
|
||||
}
|
||||
|
||||
// Fixes github oneboxes for RTL sites
|
||||
|
Loading…
Reference in New Issue
Block a user