From 72fa3e8bdae7b339c75294de51ce261b7a9da173 Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Tue, 28 Mar 2017 13:09:42 +0200 Subject: [PATCH] [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 --- addons/web/static/src/less/tooltip.less | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addons/web/static/src/less/tooltip.less b/addons/web/static/src/less/tooltip.less index dad63e374fa..e071bf04a40 100644 --- a/addons/web/static/src/less/tooltip.less +++ b/addons/web/static/src/less/tooltip.less @@ -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;