From 7dba4c5dd8ce97829e150461bd34b117a7a2be74 Mon Sep 17 00:00:00 2001 From: Michael Enz <none@none> Date: Tue, 18 Nov 2014 17:30:57 +0100 Subject: [PATCH] FXOLAT-480: full-width dropdown menus for small screens in toolbars --- .../static/themes/light/modules/_toolbar.scss | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/main/webapp/static/themes/light/modules/_toolbar.scss b/src/main/webapp/static/themes/light/modules/_toolbar.scss index b1567ec76b9..47ba6a40013 100644 --- a/src/main/webapp/static/themes/light/modules/_toolbar.scss +++ b/src/main/webapp/static/themes/light/modules/_toolbar.scss @@ -297,7 +297,21 @@ float: left; } .o_tool, .o_text, .o_tool_dropdown { - margin: 0 0; + margin: 0 0; + //this allows full-width dropdown menus + position: static; + } + //make dropdown bigger for small screens + .o_tool_dropdown .dropdown-menu { + left: 0px; + right: 0px; + + a, i { + line-height: $line-height-computed * 1.5; + } + .o_navbar_tab_close { + line-height: inherit; + } } } -- GitLab