@gridkitjs/theme-tailwind 0.2.1 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/styles.css +13 -14
package/package.json
CHANGED
package/src/styles.css
CHANGED
|
@@ -95,12 +95,19 @@
|
|
|
95
95
|
* `text-overflow: ellipsis` only matters once `overflow` stops being
|
|
96
96
|
* `visible`. Fixed layout still holds the column's width; only its height
|
|
97
97
|
* stops being one line's worth.
|
|
98
|
+
*
|
|
99
|
+
* `white-space: normal` alone only breaks at spaces — a single word longer
|
|
100
|
+
* than the column (a long identifier, a URL) has nowhere to break and
|
|
101
|
+
* overflows the fixed width instead, now that `overflow: visible` no longer
|
|
102
|
+
* clips it. `overflow-wrap: anywhere` lets it break mid-word as a last
|
|
103
|
+
* resort, after normal word breaks are exhausted.
|
|
98
104
|
*/
|
|
99
105
|
.gridkit-data-grid .header-cell.is-wrapped,
|
|
100
106
|
.gridkit-data-grid .grid-cell.is-wrapped {
|
|
101
107
|
overflow: visible;
|
|
102
108
|
text-overflow: clip;
|
|
103
109
|
white-space: normal;
|
|
110
|
+
overflow-wrap: anywhere;
|
|
104
111
|
}
|
|
105
112
|
|
|
106
113
|
.gridkit-data-grid .grid-header {
|
|
@@ -273,26 +280,18 @@
|
|
|
273
280
|
border: 1px solid var(--gridkit-line);
|
|
274
281
|
}
|
|
275
282
|
|
|
276
|
-
.gridkit-data-grid.borders-all .grid-header .header-cell:last-child,
|
|
277
|
-
.gridkit-data-grid.borders-all .grid-cell:last-child {
|
|
278
|
-
border-right: none;
|
|
279
|
-
}
|
|
280
|
-
|
|
281
283
|
/*
|
|
282
|
-
* The
|
|
283
|
-
* unlike every internal boundary
|
|
284
|
-
*
|
|
285
|
-
* as a table-level `box-shadow`, which draws the same line without adding to
|
|
286
|
-
* the box model. On the table rather than the cell so it can never be
|
|
287
|
-
* overwritten by a cell's own `box-shadow` (`is-resizing`, `is-dragging`,
|
|
288
|
-
* `is-drop-before`/`is-drop-after` all set one on the `th`/`td` itself).
|
|
284
|
+
* The outer left/right edges have no neighbouring cell to collapse with, so
|
|
285
|
+
* unlike every internal boundary they are a genuinely extra pixel — without
|
|
286
|
+
* this the table would render 2px wider than the sum of its columns.
|
|
289
287
|
*/
|
|
290
288
|
.gridkit-data-grid.borders-all .grid-header .header-cell:first-child,
|
|
291
289
|
.gridkit-data-grid.borders-all .grid-cell:first-child {
|
|
292
290
|
border-left: none;
|
|
293
291
|
}
|
|
294
292
|
|
|
295
|
-
.gridkit-data-grid.borders-all
|
|
296
|
-
|
|
293
|
+
.gridkit-data-grid.borders-all .grid-header .header-cell:last-child,
|
|
294
|
+
.gridkit-data-grid.borders-all .grid-cell:last-child {
|
|
295
|
+
border-right: none;
|
|
297
296
|
}
|
|
298
297
|
}
|