summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/less
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2016-08-30 16:41:10 +0200
committerqsm-odoo <qsm@odoo.com>2016-08-31 16:37:20 +0200
commit4d68d779dc582761c8f9be6c86ce0a97e6d1003a (patch)
treea2e513a2c2121bbfb5b9269a05e9492408efa090 /addons/web_editor/static/src/less
parentc204d621bb7abb932fa4136c4818348c58858d37 (diff)
[IMP] web_editor: force web_editor overlay option buttons to stay on one line
Before this commit, when the snippet was too narrow, the buttons broke over multiple lines.
Diffstat (limited to 'addons/web_editor/static/src/less')
-rw-r--r--addons/web_editor/static/src/less/web_editor.ui.less2
1 files changed, 2 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 caea484cbd5..d63402f8e0c 100644
--- a/addons/web_editor/static/src/less/web_editor.ui.less
+++ b/addons/web_editor/static/src/less/web_editor.ui.less
@@ -287,6 +287,8 @@ html[lang] > body.editor_enable{
// OVERLAY OPTIONS
> .oe_overlay_options {
.o-position-absolute(@bottom: 0, @left: 0);
+ width: 250px; // the parent oe_overlay has a width equal to the snippet width, the 250px is there to force the options to stay on one line without overriding bootstrap .btn-group
+ text-align: left;
> .btn-group {
white-space: nowrap;