mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[IMP] web_responsive: Scrollable dropdowns
This commit is contained in:
@@ -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">
|
||||
|
||||
BIN
web_responsive/static/img/dropdown_scroll.gif
Normal file
BIN
web_responsive/static/img/dropdown_scroll.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 878 KiB |
@@ -407,6 +407,12 @@ 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 {
|
||||
|
||||
Reference in New Issue
Block a user