@kolkrabbi/kol-theme 0.50.1 → 0.50.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.
@@ -707,6 +707,20 @@
707
707
  margin-block-end: 0.75rem;
708
708
  }
709
709
 
710
+ /* THE CONTROL'S LANE (CodeBlockMobileOverflow, kol-website 2026-08-25). The
711
+ * copy button floats in the frame's top-right corner (.kol-frame-control), and
712
+ * the chip row is the lane it sits in — when there IS a chip. A block with no
713
+ * chip (a `text` fence, an unlabelled CMS block) starts its code on the row
714
+ * the control occupies, and once the block is narrower than ~600px the first
715
+ * line runs underneath it (measured: control y 3729–3761, line 1 y 3735–3756).
716
+ * The first line reserves the control's column in that case and only that
717
+ * case — 2rem is the control's box (.kol-copy-btn: 16px glyph + 0.5rem pad)
718
+ * plus its inset; every other line, and every chipped block, is untouched.
719
+ * `.kol-codeblock-line` is stamped per line by CodeBlock.jsx. */
720
+ .kol-codeblock:not(:has(.kol-codeblock-filename)) .kol-codeblock-line:first-child {
721
+ padding-inline-end: calc(2rem + var(--kol-spacing-3));
722
+ }
723
+
710
724
  /* ─────────────────────────────────────────────────────────────────────
711
725
  * FRAME CONTROL — a control that floats in a host frame's corner
712
726
  * (user ruling 2026-08-15).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kolkrabbi/kol-theme",
3
- "version": "0.50.1",
3
+ "version": "0.50.2",
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",