From: Bill Erickson Date: Wed, 29 Aug 2018 18:05:09 +0000 (-0400) Subject: LP#1740412 Double grid tooltip max width X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=349d7e394ad943ddf1d09d1aef3c4870b29cfb70;p=evergreen%2Fmasslnc.git LP#1740412 Double grid tooltip max width Bump the max-width of the grid tooltip from 200 to 400px to accommodate longer messages. Shorter messages will continue using narrower tooltips. Signed-off-by: Bill Erickson Signed-off-by: Michele Morgan Signed-off-by: Kathy Lussier --- diff --git a/Open-ILS/src/templates/staff/css/style.css.tt2 b/Open-ILS/src/templates/staff/css/style.css.tt2 index f59fbefb06..063da5f64e 100644 --- a/Open-ILS/src/templates/staff/css/style.css.tt2 +++ b/Open-ILS/src/templates/staff/css/style.css.tt2 @@ -564,6 +564,10 @@ eg-grid-field { display: none; } +.eg-grid-tooltip .tooltip-inner { + max-width: 400px; +} + [%# vim: ft=css %] diff --git a/Open-ILS/src/templates/staff/share/t_autogrid.tt2 b/Open-ILS/src/templates/staff/share/t_autogrid.tt2 index 5e0a6be112..12d2fb689e 100644 --- a/Open-ILS/src/templates/staff/share/t_autogrid.tt2 +++ b/Open-ILS/src/templates/staff/share/t_autogrid.tt2 @@ -332,6 +332,7 @@ style="padding-left:5px; padding-right:10px;" ng-init="html_value=translateCellTemplate(col, item)"> @@ -348,6 +349,7 @@ id="{{cellId(col, item)}}" ng-init="text_value = (itemFieldValue(item, col) | egGridValueFilter:col:item)" uib-tooltip="{{cellOverflowed(cellId(col, item), 1) ? text_value : ''}}" + tooltip-class="eg-grid-tooltip" tooltip-placement="top-left" tooltip-class="eg-grid-tooltip" style="padding-left:5px; padding-right:10px;">