From 2ae92c921288ec4eafd93b7550f655c84156705a Mon Sep 17 00:00:00 2001 From: Holger Brunn Date: Fri, 1 May 2015 17:31:23 +0200 Subject: [PATCH] [ADD] have left bar autosize to content --- web_hide_menu/static/src/css/web_hide_menu.css | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/web_hide_menu/static/src/css/web_hide_menu.css b/web_hide_menu/static/src/css/web_hide_menu.css index 8c34a2dd..4af999f3 100644 --- a/web_hide_menu/static/src/css/web_hide_menu.css +++ b/web_hide_menu/static/src/css/web_hide_menu.css @@ -2,7 +2,7 @@ { height: 100%; } -.oe_leftbar +.openerp .oe_leftbar { display: block; position: absolute; @@ -10,10 +10,19 @@ top: 0px; bottom: 0px; z-index: 100; + width: auto; } .openerp .oe_leftbar > div { - width: 100%; + width: auto; +} +.openerp .oe_leftbar > div > div > div +{ + overflow-y: auto; +} +.openerp .oe_leftbar > div > div > div > div.oe_secondary_menus_container +{ + position: static; } #oe_main_menu_navbar {