[FIX] web_responsive: Scrollable dropdowns

Previous related commit only affect to small screens.
With this commit all screen will be affected.
This commit is contained in:
Alexandre D. Díaz
2021-03-16 18:23:15 +01:00
parent b1e2453b64
commit afae1ac490

View File

@@ -407,12 +407,6 @@ html .o_web_client .o_action_manager .o_action {
display: inline-block !important;
}
// Enable scroll on dropdowns
.o_cp_buttons .dropdown-menu {
max-height: 70vh;
overflow-y: auto;
}
// Dropdown with buttons to switch the view type
.o_cp_switch_buttons.show {
.dropdown-menu {
@@ -790,8 +784,8 @@ html .o_web_client .o_action_manager .o_action {
}
}
// Filter Menu
.o_control_panel {
// Filter Menu item
.o_filters_menu {
.o_menu_item {
@include o-search-options-dropdown-custom-item;
@@ -802,4 +796,11 @@ html .o_web_client .o_action_manager .o_action {
}
}
}
// Enable scroll on dropdowns
.o_cp_buttons .dropdown-menu {
max-height: 70vh;
overflow-y: auto;
overflow-x: hidden;
}
}