[FIX] web_editor: ensure dropdown menus in toolbar are fully visible

Dropdown menus (eg.: font-size) had their contents cropped if space was
lacking underneath the toolbar. With this the user can scroll down to
see the rest of it if needed.

More info: https://github.com/twbs/bootstrap/issues/23378

closes odoo/odoo#69644

X-original-commit: d360b751acfc1649673739b185b635732cf5b78f
Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
This commit is contained in:
Antoine Guenet
2021-04-22 09:11:23 +00:00
parent e564b0d8da
commit 459d4e27a8
+2 -2
View File
@@ -9,7 +9,7 @@
<div id="toolbar" class="oe-toolbar">
<div id="style" class="btn-group dropdown">
<button type="button" class="btn dropdown-toggle"
data-toggle="dropdown" title="" tabindex="-1"
data-toggle="dropdown" title="" tabindex="-1" data-display="static"
data-original-title="Style" aria-expanded="false">
<i class="fa fa-paragraph"></i>
</button>
@@ -78,7 +78,7 @@
<div id="font-size" class="btn-group dropdown">
<button type="button" class="btn dropdown-toggle"
data-toggle="dropdown" title="" tabindex="-1"
data-toggle="dropdown" title="" tabindex="-1" data-display="static"
data-original-title="Font Size" aria-expanded="false">
<span id="fontSizeCurrentValue"></span>
</button>