From f567a8ef8a0d6eb210fe9f47870342e2a9d6126c Mon Sep 17 00:00:00 2001 From: hmai Date: Mon, 21 Aug 2023 23:18:27 +0200 Subject: [PATCH] [FIX] web_editor: clear format button always visible This commit makes the clear button of the toolbar always visible even if no style is applied. Since the display is controlled by the css, we removed the concerned style. Task-3459819 closes odoo/odoo#135293 X-original-commit: 78d3e1c327e81a1fddbe068860eeec498af29b89 Signed-off-by: David Monjoie (dmo) --- addons/web_editor/static/src/scss/wysiwyg.scss | 3 --- 1 file changed, 3 deletions(-) diff --git a/addons/web_editor/static/src/scss/wysiwyg.scss b/addons/web_editor/static/src/scss/wysiwyg.scss index 4404a08a7be..4288fe0a993 100644 --- a/addons/web_editor/static/src/scss/wysiwyg.scss +++ b/addons/web_editor/static/src/scss/wysiwyg.scss @@ -318,9 +318,6 @@ $o-we-zindex: $o-we-overlay-zindex + 1 !default; // Specific elements #decoration { #removeFormat { - display: none; - } - .active ~ #removeFormat { display: flex; } }