@gridkitjs/theme-tailwind 0.2.2 → 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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/styles.css +6 -14
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gridkitjs/theme-tailwind",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
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
@@ -280,26 +280,18 @@
280
280
  border: 1px solid var(--gridkit-line);
281
281
  }
282
282
 
283
- .gridkit-data-grid.borders-all .grid-header .header-cell:last-child,
284
- .gridkit-data-grid.borders-all .grid-cell:last-child {
285
- border-right: none;
286
- }
287
-
288
283
  /*
289
- * The first column's left border has no neighbour to collapse with, so
290
- * unlike every internal boundary it is a genuinely extra pixel — the table
291
- * renders 1px wider than the sum of its columns. Stripped here and repainted
292
- * as a table-level `box-shadow`, which draws the same line without adding to
293
- * the box model. On the table rather than the cell so it can never be
294
- * overwritten by a cell's own `box-shadow` (`is-resizing`, `is-dragging`,
295
- * `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.
296
287
  */
297
288
  .gridkit-data-grid.borders-all .grid-header .header-cell:first-child,
298
289
  .gridkit-data-grid.borders-all .grid-cell:first-child {
299
290
  border-left: none;
300
291
  }
301
292
 
302
- .gridkit-data-grid.borders-all {
303
- box-shadow: inset 1px 0 0 0 var(--gridkit-line);
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;
304
296
  }
305
297
  }