summaryrefslogtreecommitdiff
path: root/addons/web_editor/static
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2016-08-10 11:30:33 +0200
committerqsm-odoo <qsm@odoo.com>2016-08-19 17:44:26 +0200
commit3049b154e91c20b9c07c4ea0d3490935c6e0aaed (patch)
tree30b1f75275d760b7d833afdc1b4d13ebf9d479d7 /addons/web_editor/static
parentf3d8ede492d0534b988a7c18a68a690d2a87f4ec (diff)
[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).
Diffstat (limited to 'addons/web_editor/static')
-rw-r--r--addons/web_editor/static/src/less/web_editor.ui.less4
1 files changed, 4 insertions, 0 deletions
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;