[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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user