diff --git a/src/definitions/elements/list.less b/src/definitions/elements/list.less index 1cda55beae..9ec0d37529 100755 --- a/src/definitions/elements/list.less +++ b/src/definitions/elements/list.less @@ -703,6 +703,7 @@ ol.ui.list ol li, left: auto; user-select: none; pointer-events: none; + transform: translateX(-100%); margin-left: -(@orderedCountDistance); counter-increment: @orderedCountName; content: @orderedCountContent; diff --git a/src/themes/default/elements/list.variables b/src/themes/default/elements/list.variables index 1206f30543..23013dfe6b 100644 --- a/src/themes/default/elements/list.variables +++ b/src/themes/default/elements/list.variables @@ -179,7 +179,7 @@ @orderedCountContent: counters(@orderedCountName, @orderedCountSeparator) " "; @orderedCountContentSuffixed: counters(@orderedCountName, @orderedCountSeparator) @orderedCountSuffix; @orderedCountColor: @textColor; -@orderedCountDistance: 1.25rem; +@orderedCountDistance: 0.65rem; @orderedCountOpacity: 0.8; @orderedCountTextAlign: right; @orderedCountVerticalAlign: middle;