@gridkitjs/theme-tailwind 0.1.0 → 0.2.0

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/styles.css +14 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gridkitjs/theme-tailwind",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "Tailwind v4 theme for GridKit — palette tokens, dark mode and grid styles.",
5
5
  "license": "MIT",
6
6
  "author": "Blagoja Blazhevski",
package/src/styles.css CHANGED
@@ -89,6 +89,20 @@
89
89
  white-space: nowrap;
90
90
  }
91
91
 
92
+ /*
93
+ * A column that opts into `wrap` needs all three of the rule above undone —
94
+ * `overflow: hidden` alone would still clip a second line, and
95
+ * `text-overflow: ellipsis` only matters once `overflow` stops being
96
+ * `visible`. Fixed layout still holds the column's width; only its height
97
+ * stops being one line's worth.
98
+ */
99
+ .gridkit-data-grid .header-cell.is-wrapped,
100
+ .gridkit-data-grid .grid-cell.is-wrapped {
101
+ overflow: visible;
102
+ text-overflow: clip;
103
+ white-space: normal;
104
+ }
105
+
92
106
  .gridkit-data-grid .grid-header {
93
107
  background-color: var(--gridkit-surface);
94
108
  }