Make column headers text wrap so that you can fully read the header even if
it's several words long. This will help when there are multiple headers
that start with the same word and they show up identically.
Signed-off-by: Mike Risher <mrisher@catalyte.io>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
border-color: #b8daff;
}
-.eg-grid-header-cell {
- font-weight: bold;
-}
-
-.eg-grid-header-cell.dragover {
- background-color: #cce5ff;
- border-color: #b8daff;
-}
-
-.eg-grid-header-cell-sort-label {
- cursor: pointer;
- text-decoration: underline;
-}
-
-.eg-grid-header-cell-sort-arrow {
- font-size: 14px;
-}
-
.eg-grid-cell {
flex: 2; /* applied per column */
padding: 6px;
.eg-grid-body-cell {
}
+.eg-grid-header-cell {
+ font-weight: bold;
+ white-space: normal;
+}
+
+.eg-grid-header-cell.dragover {
+ background-color: #cce5ff;
+ border-color: #b8daff;
+}
+
+.eg-grid-header-cell-sort-label {
+ cursor: pointer;
+ text-decoration: underline;
+}
+
+.eg-grid-header-cell-sort-arrow {
+ font-size: 14px;
+}
+
.eg-grid-toolbar {
display: flex;
}