@kolkrabbi/kol-theme 0.166.0 → 0.167.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.
- package/kol-components-organisms.css +26 -0
- package/package.json +1 -1
|
@@ -520,6 +520,32 @@
|
|
|
520
520
|
background: var(--kol-surface-primary);
|
|
521
521
|
}
|
|
522
522
|
|
|
523
|
+
/* ON A PHONE THE PICKER IS A FULL-HEIGHT SHEET (2026-10-07). The card had no phone layout:
|
|
524
|
+
* at 390 it kept its 64rem ask, overflowed the viewport sideways and the header ran off the
|
|
525
|
+
* right edge. The sheet takes the viewport — the overlay's 24px lane goes, the border and the
|
|
526
|
+
* radius go — the body still owns the scroll, and tiles pack two across. The same cut the
|
|
527
|
+
* sheet's own tables use (`.kol-table-cell-*` above). */
|
|
528
|
+
@media (max-width: 768px) {
|
|
529
|
+
.kol-overlay:has(> .kol-overlay-sheet > .kol-media-picker) { padding: 0; }
|
|
530
|
+
.kol-overlay-sheet:has(> .kol-media-picker) { width: 100%; }
|
|
531
|
+
.kol-media-picker {
|
|
532
|
+
--kol-media-tile-min: 8rem;
|
|
533
|
+
width: 100%;
|
|
534
|
+
height: 100dvh;
|
|
535
|
+
max-height: none;
|
|
536
|
+
border: 0;
|
|
537
|
+
border-radius: 0;
|
|
538
|
+
padding: var(--kol-spacing-12) var(--kol-spacing-4) var(--kol-spacing-4);
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
/* MediaTileGallery's grid — `cols` from `sm` up, two across below it (08-breakpoints rule 6; found
|
|
543
|
+
* on apps/media/viewer at 390, 2026-10-08: four 75px tiles). */
|
|
544
|
+
.kol-media-tiles { grid-template-columns: repeat(var(--kol-media-tiles-cols, 4), minmax(0, 1fr)); }
|
|
545
|
+
@media (max-width: 640px) {
|
|
546
|
+
.kol-media-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
547
|
+
}
|
|
548
|
+
|
|
523
549
|
/* The browser is the same body with no card around it — in flow, it takes the
|
|
524
550
|
* width the consumer gives it. Tiles at 260 (MediaLibraryReconcile, kol-r2b2
|
|
525
551
|
* 2026-08-26 — FileList's `minmax(260px, 1fr)`; the picker keeps 10rem
|