[FIX] web: properly display tooltips with much data

When there is a lot of texts to display in a tooltip, it will overflow
the viewport vertically as the max-width of the tooltip is set at 200px
(bootstrap default). This commit increases the max-width to the
viewport full-width.

opw-725804
This commit is contained in:
qsm-odoo
2017-03-28 16:45:35 +02:00
parent c37f1f6cb9
commit 72fa3e8bda
+2
View File
@@ -5,6 +5,8 @@
opacity: 1;
.tooltip-inner {
max-width: 300px; // fallback for browsers which do not support "vw" unit
max-width: 100vw;
background-color: @odoo-tooltip-background-color;
color: @odoo-tooltip-color;
border-radius: @border-radius-base;