From 7e46a7ee42f5c59f6e2df44d5eda3a2f89df83f0 Mon Sep 17 00:00:00 2001 From: Antoine Guenet Date: Fri, 21 May 2021 14:31:21 +0000 Subject: [PATCH] [FIX] web_editor: properly indent checklist items Indenting a checklist item duplicated its checkbox. This properly copies the css from the editor that was lost in translation. X-original-commit: 14efea8ac944eba483f7300d6ba6e51592f26b80 --- addons/web_editor/static/src/scss/web_editor.common.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/web_editor/static/src/scss/web_editor.common.scss b/addons/web_editor/static/src/scss/web_editor.common.scss index c393e0988d9..598224d047e 100644 --- a/addons/web_editor/static/src/scss/web_editor.common.scss +++ b/addons/web_editor/static/src/scss/web_editor.common.scss @@ -121,10 +121,11 @@ ul.o_checklist { list-style: none; >li { + list-style: none; position: relative; margin-left: $o-checklist-margin-left; - &::before { + &:not(.oe-nested)::before { content: ''; position: absolute; left: - $o-checklist-margin-left;