diff options
| author | qsm-odoo <qsm@odoo.com> | 2017-03-28 13:09:42 +0200 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2017-03-28 16:45:35 +0200 |
| commit | 72fa3e8bdae7b339c75294de51ce261b7a9da173 (patch) | |
| tree | 0e6c4139a0e99ba644391f14395ea04507882c1d /addons/web/static/src/less | |
| parent | c37f1f6cb9eba0658129bfb34bc230d404761856 (diff) | |
[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
Diffstat (limited to 'addons/web/static/src/less')
| -rw-r--r-- | addons/web/static/src/less/tooltip.less | 2 |
1 files changed, 2 insertions, 0 deletions
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; |
