Skip to content
Permalink
Browse files

[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 1c1c089 which adapted
dropdowns to BS4.
  • Loading branch information...
odony committed Feb 19, 2019
1 parent d3b2da4 commit a2de8aa8c369e43cc1bea71d7c7b55b3b612fbb7
Showing with 1 addition and 1 deletion.
  1. +1 −1 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">

0 comments on commit a2de8aa

Please sign in to comment.
You can’t perform that action at this time.