From 040fe8a0863caefec6cbe3ddb7b49a0aa9d2fb79 Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Mon, 19 Oct 2020 12:47:36 +0000 Subject: [PATCH] [FIX] web_editor: do not allow we-checkbox to shrink below checkbox size E.g. the scrolltop button option has a checkbox followed by a select on the same row and the checkbox was partly cut because of it. Part of https://github.com/odoo/odoo/pull/60271 task-2312878 X-original-commit: 70570c69989b49b8ab89d71ea89d19195e3028ae --- addons/web_editor/static/src/scss/wysiwyg_snippets.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/web_editor/static/src/scss/wysiwyg_snippets.scss b/addons/web_editor/static/src/scss/wysiwyg_snippets.scss index 52007e863b2..ff339959c07 100644 --- a/addons/web_editor/static/src/scss/wysiwyg_snippets.scss +++ b/addons/web_editor/static/src/scss/wysiwyg_snippets.scss @@ -742,6 +742,7 @@ body.editor_enable.editor_has_snippets { // Checkboxes we-button.o_we_checkbox_wrapper.o_we_user_value_widget { + min-width: $o-we-sidebar-content-field-toggle-width; padding: 0; border: none; background: none;