diff --git a/webapp/components/Editor/Editor.vue b/webapp/components/Editor/Editor.vue index ff2e09cab..67329a60b 100644 --- a/webapp/components/Editor/Editor.vue +++ b/webapp/components/Editor/Editor.vue @@ -329,25 +329,16 @@ li > p { } ul { - // padding-left: $space-small; padding-left: $space-x-large; - // list-style-position: outside; - // list-style-type: circle; li { display: block; - list-style-position: outside; text-indent: -$space-large; p:first-child:before { - // list-style-position: inside; content: '•'; padding: $space-none $space-x-small; margin-right: $space-x-small; - // text-indent: -1em; - // padding-left: 1em; - // padding: 10px 0 10px 20px; - // text-indent: -1em; } p:not(:first-child) { @@ -355,17 +346,15 @@ li > p { } } } - + ol { // https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Lists_and_Counters/Using_CSS_counters counter-reset: item; - // padding-left: $space-small; - padding-left: $space-x-large; + padding-left: $space-x-large + 4px; li { display: block; - list-style-position: outside; - text-indent: -$space-large; + text-indent: -$space-large - 4px; p:first-child:before { content: counters(item, '.') '.';