@kolkrabbi/kol-theme 0.46.0 → 0.46.1
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/kol-components-molecules.css +15 -6
- package/package.json +1 -1
|
@@ -879,10 +879,17 @@
|
|
|
879
879
|
width: var(--kol-row-thumb);
|
|
880
880
|
}
|
|
881
881
|
|
|
882
|
-
/*
|
|
883
|
-
*
|
|
884
|
-
*
|
|
885
|
-
|
|
882
|
+
/* CONTAINER query, not a viewport one (2026-08-15). The row steps on the width
|
|
883
|
+
* of the WALL it sits in, for exactly the reason the card-wall law gives: the
|
|
884
|
+
* shell rails eat width that viewport breakpoints cannot see, so a row inside a
|
|
885
|
+
* 700px panel on a 1600px screen was taking the desktop step and overflowing.
|
|
886
|
+
* It also means the step is VISIBLE in a resizable panel instead of only when
|
|
887
|
+
* the whole browser is dragged.
|
|
888
|
+
*
|
|
889
|
+
* 768 is still the ruled `md` rung (08-breakpoints/01-values.md) — the number
|
|
890
|
+
* did not change, only what it measures. A row with no container ancestor falls
|
|
891
|
+
* back to its base values, which is the correct nothing-happens. */
|
|
892
|
+
@container (min-width: 768px) {
|
|
886
893
|
.kol-row {
|
|
887
894
|
gap: var(--kol-row-gap-md, var(--kol-row-gap));
|
|
888
895
|
padding: var(--kol-row-pad-md, var(--kol-row-pad));
|
|
@@ -932,8 +939,10 @@
|
|
|
932
939
|
* one (work: 16 → 24, matching the shipped drawer's `p-4 md:p-6`). Same
|
|
933
940
|
* custom-property mechanism as .kol-row — Tailwind cannot generate an
|
|
934
941
|
* md: variant from package source, and these are per-variant data. */
|
|
935
|
-
/* the ruled `md` rung, same as .kol-row above
|
|
936
|
-
|
|
942
|
+
/* the ruled `md` rung, same as .kol-row above — and a container query for the
|
|
943
|
+
* same reason: a card in a narrow wall must not take the wide plate padding
|
|
944
|
+
* because the BROWSER happens to be wide. */
|
|
945
|
+
@container (min-width: 768px) {
|
|
937
946
|
.kol-card-plate {
|
|
938
947
|
padding: var(--kol-plate-pad-md, var(--kol-plate-pad));
|
|
939
948
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kolkrabbi/kol-theme",
|
|
3
|
-
"version": "0.46.
|
|
3
|
+
"version": "0.46.1",
|
|
4
4
|
"description": "KOL (Kolkrabbi) design-system tokens + base CSS — brand-neutral. The canonical token/cascade layer every other KOL package and consumer builds on.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|