FIX: Remove list double padding (#12275)
Enabling support_mixed_text_direction added both left-side and
right-side padding.
Follow up to 4bee7fb458
.
This commit is contained in:
parent
c047640ad4
commit
1fc67cc26a
|
@ -55,10 +55,18 @@
|
||||||
// This is for the support_mixed_text_direction setting
|
// This is for the support_mixed_text_direction setting
|
||||||
.cooked ul[dir="ltr"],
|
.cooked ul[dir="ltr"],
|
||||||
.d-editor-preview ul[dir="ltr"],
|
.d-editor-preview ul[dir="ltr"],
|
||||||
.cooked ul[dir="rtl"],
|
.rtl .cooked ul[dir="rtl"],
|
||||||
.d-editor-preview ul[dir="rtl"] {
|
.rtl .d-editor-preview ul[dir="rtl"] {
|
||||||
padding-right: 40px;
|
|
||||||
padding-left: 40px;
|
padding-left: 40px;
|
||||||
|
padding-right: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cooked ul[dir="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;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Fixes github oneboxes for RTL sites
|
// Fixes github oneboxes for RTL sites
|
||||||
|
|
Loading…
Reference in New Issue