From 3049b154e91c20b9c07c4ea0d3490935c6e0aaed 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 b6fbc1f2d02..f453d0ca384 100644 --- a/addons/web_editor/static/src/less/web_editor.ui.less +++ b/addons/web_editor/static/src/less/web_editor.ui.less @@ -755,6 +755,10 @@ html[lang] > body.editor_enable{ } } } + .note-para .dropdown-menu { + min-width: 228px; + } + #colors_preview { padding: 4px; border-radius: 2px;