@kolkrabbi/kol-component 0.262.0 → 0.263.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/package.json
CHANGED
|
@@ -913,8 +913,10 @@ function LibraryHeader({ title, buckets, bucketId, appRoot, onBucket, bucketMeta
|
|
|
913
913
|
* like a home button"). The crumb row's root already did exactly this and the wordmark above it
|
|
914
914
|
* did nothing — the one element every file manager makes clickable was the one that was inert.
|
|
915
915
|
* Without the prop it stays a plain <h1>, so nothing existing changes. */
|
|
916
|
+
/* CENTRED, not baseline (MediaPickerHeaderCentred, kol-monitor 2026-10-16): on the baseline the
|
|
917
|
+
* controls' 12px text sat on the display title's, so every control box hung below the wordmark */
|
|
916
918
|
return (
|
|
917
|
-
<header className="flex items-
|
|
919
|
+
<header className="flex items-center justify-between gap-4">
|
|
918
920
|
{onHome ? (
|
|
919
921
|
<button type="button" onClick={onHome}
|
|
920
922
|
className={`${titleCls} text-fg-96 min-w-0 truncate text-left cursor-pointer transition-opacity hover:opacity-64`}
|
|
@@ -952,10 +954,9 @@ function LibraryHeader({ title, buckets, bucketId, appRoot, onBucket, bucketMeta
|
|
|
952
954
|
</div>
|
|
953
955
|
{/* THE × IS THE CARD'S, NOT A CONTROL (media-picker-close-and-title, kol-mirror 2026-10-15 — user:
|
|
954
956
|
* "you ever seen a close out button before??", pointing at the Display Settings drawer). Alone at
|
|
955
|
-
* the far end of the title's row, outside the control cluster — the drawer's shape.
|
|
956
|
-
*
|
|
957
|
-
|
|
958
|
-
{onClose && <CloseButton onClick={onClose} className="shrink-0 self-end" />}
|
|
957
|
+
* the far end of the title's row, outside the control cluster — the drawer's shape. It centres with
|
|
958
|
+
* the row like every control in it. */}
|
|
959
|
+
{onClose && <CloseButton onClick={onClose} className="shrink-0" />}
|
|
959
960
|
</header>
|
|
960
961
|
)
|
|
961
962
|
}
|