Switch to outside list style for ordered lists too (second try)

See design rationale on T150377.

Furthermore, 'inside' lists cause rendering issues inside VisualEditor
(tested with Chrome 71 and Firefox 65 on desktop), as seen on T208102.

Previously attempted in abf223da58 and
reverted. This patch sets a larger padding of 2.25em, so that higher
list item numbers (3 digits) will fit in the available space.

Bug: T150377
Change-Id: I1e643505105717dda380a47bac852fbe0b8d8c28
This commit is contained in:
Bartosz Dziewoński 2019-02-08 18:37:25 +01:00
parent 9067705cf8
commit f5eb153205

View file

@ -1,6 +1,6 @@
.content {
ul {
list-style: square outside;
list-style-type: square;
padding-left: 1em;
& > li > ul {
@ -13,7 +13,8 @@
}
ol {
list-style: decimal inside;
list-style-type: decimal;
padding-left: 2.25em;
}
/* stylelint-disable no-descending-specificity */