From: Stephanie Leary Date: Mon, 27 Mar 2023 17:11:49 +0000 (+0000) Subject: Fixes for column width defaults X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=af554ddea9b9cbbe6be0010f8011b0c6e5466ca2;p=working%2FEvergreen.git Fixes for column width defaults Signed-off-by: Stephanie Leary --- 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 a82b443706..6f8bf751e1 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 @@ -241,16 +241,12 @@ components' CSS to override the default width. .eg-grid td { vertical-align: top; - /* - white-space: nowrap; - text-overflow: ellipsis; - overflow: hidden; - /**/ + white-space: normal; + word-break: break-all; } .eg-grid-col-utilities col { - min-width: 2em; - max-width: 8ch; + min-width: 4ch; } .eg-grid-checkbox-cell, @@ -273,9 +269,13 @@ components' CSS to override the default width. font-variant-numeric: tabular-nums lining-nums; } -.eg-grid-col-name { - min-width: 10ch; +.eg-grid td.eg-grid-number-cell { white-space: nowrap; +} + +.eg-grid-col-name { + width: 30ch; + hyphens: none !important; /* use with before periods: */ /* overflow-wrap: break-word; @@ -287,12 +287,12 @@ components' CSS to override the default width. } .eg-grid-col-barcode { - min-width: 14ch; + width: 16ch; } .eg-grid-col-description, .eg-grid-col-label { - min-width: 20ch; + width: 20ch; } /* only, not the headers */ @@ -303,6 +303,7 @@ td.eg-grid-col-datatype { td.eg-grid-col-url, td.eg-grid-col-email { + hyphens: none !important; overflow-wrap: anywhere; word-break: break-all; } \ No newline at end of file