@gridkitjs/theme-tailwind 0.3.1 → 0.3.2

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 +15 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gridkitjs/theme-tailwind",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
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
@@ -412,6 +412,15 @@
412
412
  border-bottom: 1px solid var(--gridkit-line);
413
413
  }
414
414
 
415
+ /*
416
+ * The last row's bottom edge has no row below it to collapse with, so
417
+ * unlike every internal boundary it is a genuinely extra pixel — the same
418
+ * reason `borders-vertical` drops its `:last-child` border-right below.
419
+ */
420
+ .gridkit-data-grid.borders-horizontal .grid-row:last-child .grid-cell {
421
+ border-bottom: none;
422
+ }
423
+
415
424
  /* Vertical borders */
416
425
  .gridkit-data-grid.borders-vertical .grid-header .header-cell,
417
426
  .gridkit-data-grid.borders-vertical .grid-cell {
@@ -426,7 +435,8 @@
426
435
  /* Borders on all sides */
427
436
  .gridkit-data-grid.borders-all .grid-header .header-cell,
428
437
  .gridkit-data-grid.borders-all .grid-cell {
429
- border: 1px solid var(--gridkit-line);
438
+ border-bottom: 1px solid var(--gridkit-line);
439
+ border-right: 1px solid var(--gridkit-line);
430
440
  }
431
441
 
432
442
  /*
@@ -443,4 +453,8 @@
443
453
  .gridkit-data-grid.borders-all .grid-cell:last-child {
444
454
  border-right: none;
445
455
  }
456
+
457
+ .gridkit-data-grid.borders-all .grid-row:last-child .grid-cell {
458
+ border-bottom: none;
459
+ }
446
460
  }