[FIX] website: restore scrollbar for some menus

After [1], the dropdown menu of the main navbar for some menus
(e.g customize on /shop) didn't have scrollbars anymore, making it hard
to navigate on smaller resolution devices.

This commit restores that.

[1]: https://github.com/odoo/odoo/commit/1971bf39810468b2b67e2ecd3c86c663d5cffcfd

task-2670809

X-original-commit: b46d2ad7c6b225ae34594991d5189672b95fc3cc
Part-of: odoo/odoo#80466
This commit is contained in:
Arthur Detroux (ard)
2021-11-26 16:42:17 +00:00
committed by qsm-odoo
parent 8ca8a38bb2
commit bcee349dc4
@@ -96,14 +96,13 @@ body.o_connected_user {
font-size: inherit;
border-radius: 0;
color: $dropdown-link-active-color;
max-height: 500px; // Fallback
max-height: calc(90vh - #{$o-navbar-height});
overflow: auto;
}
#oe_applications .dropdown-menu {
// Compensate #oe_applications's padding
margin-left: $dropdown-item-padding-x * -0.5;
max-height: 500px; // Fallback
max-height: calc(90vh - #{$o-navbar-height});
overflow: auto;
}
.o_menu_sections {