From 2a9605414b5b0d51bf4212c4dcfacb11ffc763cc Mon Sep 17 00:00:00 2001 From: Kishan Gajjar Date: Thu, 17 Aug 2017 11:35:12 +0530 Subject: [FIX] web_editor: open customize menus to the left/right Open customize options menus to the left if there is not enough space on the right. --- addons/web_editor/static/src/less/web_editor.ui.less | 5 +++++ 1 file changed, 5 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 a434f07fe54..1d59c4e2033 100644 --- a/addons/web_editor/static/src/less/web_editor.ui.less +++ b/addons/web_editor/static/src/less/web_editor.ui.less @@ -452,6 +452,11 @@ html[lang] > body.editor_enable [data-oe-translation-state] { display: block; left: 100%; top: 0; + + &.o_open_to_left { + left: auto; + right: 100%; + } } } &.dropdown-submenu:before { -- cgit v1.2.3