web staff: autogrid fixed height; text overflow
authorBill Erickson <berick@esilibrary.com>
Thu, 27 Mar 2014 21:13:54 +0000 (17:13 -0400)
committerBill Erickson <berick@esilibrary.com>
Thu, 27 Mar 2014 21:13:54 +0000 (17:13 -0400)
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/src/templates/staff/css/style.css.tt2

index ed3eff8..977c15f 100644 (file)
@@ -102,6 +102,10 @@ table.list tr.selected td {
   border: 1px solid #ccc;
 }
 
+.eg-grid-row:not(.eg-grid-header-row):not(.eg-grid-conf-row) {
+  height: 1.8em;
+}
+
 .eg-grid-action-row {
   border: none;
   justify-content:flex-end; /* i.e. float right */
@@ -124,6 +128,8 @@ table.list tr.selected td {
 
 .eg-grid-cell {
   /* avoid text flowing into adjacent cells */
+  white-space: nowrap;
+  text-overflow: ellipsis;
   overflow: hidden;
 }