summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2019-05-06 08:51:32 +0000
committerAaron Bohy <aab@odoo.com>2019-05-06 13:07:09 +0000
commit32d696ec43a9c9a9b70ccd5e2039dc5ab5a285fa (patch)
tree0f8ec2e059b6049641fc7b55674d65638b7cf668 /addons/web/static/src/xml/base.xml
parentda13c704845ff5b44b8d5075960287b57b8de14f (diff)
[FIX] web: blurry menu dropdown on chrome when zoom != 100%
This rev. disables Popper.js 3d transformation for positioning bootstrap dropdowns in navbar, as this transformation causes a rendering issue on webkit-based browsers (the text in the dropdown is blurry). See https://github.com/twbs/bootstrap/issues/23590 Note that it has already been disabled for the other menu dropdowns (user menu, debug menu) by rev. 5373db1. Another solution would have been to override the default value in our bootstrap.js extension file, but for dropdowns that aren't in the navbar, the dynamic positionning could be interesting. Fixes #33096 closes odoo/odoo#33174 Signed-off-by: Martin Geubelle (mge) <mge@openerp.com>
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
-rw-r--r--addons/web/static/src/xml/base.xml2
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 359eea9b631..223a7b7785c 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -1553,7 +1553,7 @@
<t t-name="SwitchCompanyMenu">
<li class="o_switch_company_menu">
- <a role="button" class="dropdown-toggle" data-toggle="dropdown" aria-expanded="false" href="#" aria-label="Dropdown menu" title="Dropdown menu">
+ <a role="button" class="dropdown-toggle" data-toggle="dropdown" data-display="static" aria-expanded="false" href="#" aria-label="Dropdown menu" title="Dropdown menu">
<span t-attf-class="#{widget.isMobile ? 'fa fa-building-o' : 'oe_topbar_name'}"/>
</a>
<div class="dropdown-menu dropdown-menu-right" role="menu"/>