[IMP] web_responsive: Scrollable dropdowns

This commit is contained in:
Alexandre D. Díaz
2021-03-15 15:53:21 +01:00
committed by Sergey Shebanin
parent be736d4d18
commit 1c27ffc58e
6 changed files with 20 additions and 2 deletions

View File

@@ -441,6 +441,9 @@ width preview clicking on the new maximize button.</p>
<li><p class="first">Bigger checkboxes in list view</p>
<img alt="https://raw.githubusercontent.com/OCA/web/13.0/web_responsive/static/img/big_checkboxes.gif" src="https://raw.githubusercontent.com/OCA/web/13.0/web_responsive/static/img/big_checkboxes.gif" />
</li>
<li><p class="first">Scrollable dropdowns</p>
<img alt="https://raw.githubusercontent.com/OCA/web/13.0/web_responsive/static/img/dropdown_scroll.gif" src="https://raw.githubusercontent.com/OCA/web/13.0/web_responsive/static/img/dropdown_scroll.gif" />
</li>
</ul>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">

Binary file not shown.

After

Width:  |  Height:  |  Size: 878 KiB

View File

@@ -784,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;
@@ -796,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;
}
}