From c2e9432d43b40954eb17272a04a9cf246dca4a4d Mon Sep 17 00:00:00 2001 From: "stefanorigano (SRI)" Date: Tue, 25 Jan 2022 11:43:42 +0000 Subject: [PATCH] [REF] website: adapt navbar-mobile to the new layout This commit is part of v16 overall restyle (task-2704984). task-2712151 Part-of: odoo/odoo#82434 --- .../static/src/scss/website.navbar.mobile.scss | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/addons/website/static/src/scss/website.navbar.mobile.scss b/addons/website/static/src/scss/website.navbar.mobile.scss index f043c0feb8f..aac6863eb8f 100644 --- a/addons/website/static/src/scss/website.navbar.mobile.scss +++ b/addons/website/static/src/scss/website.navbar.mobile.scss @@ -16,13 +16,17 @@ $-font-size-lg: 18px; $-entry-hover-bg: rgba(invert($-color), .08); - // = Invalidate top-menu native 'grid' layout + + // = Invalidate top-menu native 'flex' layout // -------------------------------------------------------------------- - &, .o_menu_sections li, .dropdown-menu.show { - display: block; + display: block !important; + + .o_menu_toggle { + display: inline !important; } .o_menu_sections li, .dropdown-menu.show { + display: block; position: relative; width: 100%; height: auto; @@ -89,7 +93,9 @@ height: 100%; .o_menu_sections { - display: block; + display: block !important; + height: 100%; + width: 100%; } .o_mobile_menu_toggle:before {