From 180c0c043d017e82d90e761096442e78c120639b Mon Sep 17 00:00:00 2001 From: Benjamin Vray Date: Tue, 7 Nov 2023 13:00:25 +0100 Subject: [PATCH] [FIX] web_editor: fix toolbar buttons alignment This commit fixes the layout of icons and labels in the "AI", "Animate", "Highlight" buttons of the text toolbar in Website edit mode. Before this commit, there was too much space between the icon and the label of the "AI" button and not enough space between the icon and the label of the "Animate" and "Highlight" buttons. task-3586280 closes odoo/odoo#141440 Signed-off-by: Quentin Smetz (qsm) --- addons/web_editor/static/src/scss/wysiwyg_snippets.scss | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/addons/web_editor/static/src/scss/wysiwyg_snippets.scss b/addons/web_editor/static/src/scss/wysiwyg_snippets.scss index b2f10e8b87f..85170f03bb6 100644 --- a/addons/web_editor/static/src/scss/wysiwyg_snippets.scss +++ b/addons/web_editor/static/src/scss/wysiwyg_snippets.scss @@ -742,10 +742,6 @@ #chatgpt { grid-area: ai; - - span { - margin-left: 5px; - } } #animate { grid-area: animate; @@ -753,6 +749,11 @@ #highlight { grid-area: hilight; } + #chatgpt, #animate, #highlight { + .fa { + margin-right: $o-we-item-spacing * 0.25; + } + } .dropdown-menu.colorpicker-menu { min-width: 0;