[IMP] web_responsive: Scrollable dropdowns

pull/2405/head
Alexandre D. Díaz 2021-03-15 15:53:21 +01:00 committed by anjeel.haria
parent 9167c05cd6
commit 066bfd0e69
6 changed files with 20 additions and 2 deletions

View File

@ -117,6 +117,10 @@ Features for computers:
.. image:: https://raw.githubusercontent.com/OCA/web/13.0/web_responsive/static/img/big_checkboxes.gif
* Scrollable dropdowns
.. image:: https://raw.githubusercontent.com/OCA/web/13.0/web_responsive/static/img/dropdown_scroll.gif
**Table of contents**
.. contents::

View File

@ -6,7 +6,7 @@
{
"name": "Web Responsive",
"summary": "Responsive web client, community-supported",
"version": "13.0.2.6.2",
"version": "13.0.2.6.4",
"category": "Website",
"website": "https://github.com/OCA/web",
"author": "LasLabs, Tecnativa, " "Odoo Community Association (OCA)",

View File

@ -89,3 +89,7 @@ Features for computers:
* Bigger checkboxes in list view
.. image:: ../static/img/big_checkboxes.gif
* Scrollable dropdowns
.. image:: ../static/img/dropdown_scroll.gif

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;
}
}