From 4d68d779dc582761c8f9be6c86ce0a97e6d1003a Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Tue, 30 Aug 2016 16:41:10 +0200 Subject: [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. --- addons/web_editor/static/src/less/web_editor.ui.less | 2 ++ 1 file changed, 2 insertions(+) (limited to 'addons/web_editor/static/src/less/web_editor.ui.less') 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; -- cgit v1.2.3