From d2f01f7cc62612ee459e0298e5237b86bd87991d Mon Sep 17 00:00:00 2001 From: Nicolas Lempereur Date: Wed, 18 Sep 2019 14:34:15 +0000 Subject: [PATCH] [FIX] web_editor: re set style of custom color in editor The style for custom color in the editor color menu from 12.0 was dropped in 12.3 (correctly because of the changed structure) but in 12.5 the HTML structure changed again and the CSS is once again necessary. opw-2073734 closes #37090 Signed-off-by: Nicolas Lempereur (nle) --- addons/web_editor/static/src/scss/wysiwyg.scss | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/addons/web_editor/static/src/scss/wysiwyg.scss b/addons/web_editor/static/src/scss/wysiwyg.scss index 175463da8f1..2cac2c448aa 100644 --- a/addons/web_editor/static/src/scss/wysiwyg.scss +++ b/addons/web_editor/static/src/scss/wysiwyg.scss @@ -141,6 +141,17 @@ body.editor_enable { .note-color-palette div .note-color-btn { border-color: var(--o-we-dropdown-bg-color); } + .note-custom-color-palette .note-color-row { + height: auto!important; + .note-color-btn { + float: left; + height: 20px; + width: 20px; + padding: 0; + margin: 0; + border: 1px solid var(--o-we-dropdown-bg-color); + } + } } // ANIMATIONS