From 24e823d2628f8c1a4ed0fd6d0d02cd6f50a0c674 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolfgang=20Hu=C3=9F?= Date: Thu, 18 Feb 2021 16:24:55 +0100 Subject: [PATCH] Correct empty lines --- webapp/components/Editor/Editor.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/webapp/components/Editor/Editor.vue b/webapp/components/Editor/Editor.vue index 8de7bb81f..24a674bd0 100644 --- a/webapp/components/Editor/Editor.vue +++ b/webapp/components/Editor/Editor.vue @@ -330,8 +330,10 @@ li > p { ul { padding-left: $space-small; + li { display: block; + p:first-child:before { content: ''; background-image: $background-image-logo; @@ -341,22 +343,27 @@ li > p { padding: $space-none $space-x-small; margin-right: $space-x-small; } + p:not(:first-child) { padding-left: $space-base; } } } + ol { // https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Lists_and_Counters/Using_CSS_counters counter-reset: item; padding-left: $space-small; + li { display: block; + p:first-child:before { content: counters(item, '.') '.'; counter-increment: item; margin-right: $space-x-small; } + p:not(:first-child) { padding-left: $space-base; }