Skip to content
Snippets Groups Projects
Commit 27e66ae4 authored by Kishan Gajjar's avatar Kishan Gajjar Committed by qsm-odoo
Browse files

[FIX] website: restore narrow mega menu

Since [1], the narrow mega menu is broken because with BS5 the class
'dropdown-menu' is having a more specific CSS rule to set its left
property. This commit increases the specificity of Odoo related rule.

[1]: https://github.com/odoo/odoo/commit/c48f57ea2538ad51e00ac27d58f8e191781444f3

Closes https://github.com/odoo/odoo/pull/107074



closes odoo/odoo#107098

Signed-off-by: default avatarQuentin Smetz (qsm) <qsm@odoo.com>
parent accb722d
Branches
Tags
No related merge requests found
......@@ -1187,7 +1187,7 @@ header {
}
}
.o_mega_menu_container_size {
.dropdown-menu.o_mega_menu_container_size {
$-header-template: o-website-value('header-template');
@if not index(('sidebar', 'hamburger', 'magazine'), $-header-template) {
$bp: if($-header-template == 'minimalist', md, lg);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment