From 369bcf610c66fadd3d411181d0a78e555cc18c0e Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Wed, 10 Aug 2016 11:30:33 +0200 Subject: [PATCH] [FIX] web_editor: paragraph dropdown style Before commit a8ee18e172d406e846764b1dd79c65ee270ca7f4, the paragraph alignment dropdown menu was too large for its content, so it was ugly. After that commit, it became too small for its content, which is even more ugly. This fix sets the width of this specific dropdown so that its content fills exactly in (as with original summernote). --- addons/web_editor/static/src/less/web_editor.ui.less | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/addons/web_editor/static/src/less/web_editor.ui.less b/addons/web_editor/static/src/less/web_editor.ui.less index 19f97aa4d19..38bd5b7cd87 100644 --- a/addons/web_editor/static/src/less/web_editor.ui.less +++ b/addons/web_editor/static/src/less/web_editor.ui.less @@ -712,6 +712,10 @@ html[lang] > body.editor_enable{ } } } + .note-para .dropdown-menu { + min-width: 228px; + } + #colors_preview { padding: 4px; border-radius: 2px;