diff options
| author | Olivier Dony <odo@odoo.com> | 2019-02-19 14:48:13 +0000 |
|---|---|---|
| committer | Olivier Dony <odo@odoo.com> | 2019-02-19 14:56:11 +0000 |
| commit | 3e5ab60cf258b7d2f3265fa3967ac4ad0b1b1b33 (patch) | |
| tree | d0eaaf93d0cf8e0ca0e9b3501399ab6493150836 /addons/web/static/src/xml | |
| parent | 6b7f1ef0914344b68de974fe7f4488b7ecc11f06 (diff) | |
[FIX] web: avoid long menu dropdown overflow
The Actions/Print dropdowns may overflow the screen in case of very long
lists of menu entries, when based solely on the default BS4 styles for
`dropdown-menu`.
The `o_dropdown_menu` class forces a vertical limit and a scrollbar when
this happens, and should be applied to those control-panel dropdowns to
prevent this UI glitch.
See also 1c1c0897e8eca607c7f1b96b68a06c026c543e6a which adapted
dropdowns to BS4.
closes odoo/odoo#31251
Diffstat (limited to 'addons/web/static/src/xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index 5a416938362..752ad974042 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -341,7 +341,7 @@ <t t-raw="item.label"/> </a> </t> - <div class="dropdown-menu" role="menu"> + <div class="dropdown-menu o_dropdown_menu" role="menu"> <t t-foreach="widget.items[section.name]" t-as="item"> <t t-if="section.name == 'files'"> <t t-set="item.title"> |
