From: Galen Charlton <gmc@equinoxinitiative.org>
Date: Fri, 27 Dec 2019 21:45:42 +0000 (-0500)
Subject: LP#1855931: (follow-up) make grid filter control cells wrap as well
X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=9077cbc427d544b25c932b51591126e4a2b2bead;p=contrib%2FConifer.git

LP#1855931: (follow-up) make grid filter control cells wrap as well

This patch applies "word-wrap: normal" to filter control cells
as well, making it more likely that they will stay aligned with
the width of their corresponding header cells. This can be tested
by adding visible columns to the "Grid with filtering" table in
the Angular sandbox (/eg2/en-US/staff/sandbox) and verifying that
the column after "Circulating Library" continues to have its
filter widget stay aligned with its label.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
---

diff --git a/Open-ILS/src/eg2/src/app/share/grid/grid.component.css b/Open-ILS/src/eg2/src/app/share/grid/grid.component.css
index 4c9575fc52..6704ff082f 100644
--- a/Open-ILS/src/eg2/src/app/share/grid/grid.component.css
+++ b/Open-ILS/src/eg2/src/app/share/grid/grid.component.css
@@ -142,7 +142,8 @@
 }
 
 .eg-grid-filter-control-cell {
-    overflow: visible !important;
+  overflow: visible !important;
+  white-space: normal;
 }
 .eg-grid-col-is-filtered {
     background: lightblue;