From 019f0a2023e3dc8daa9203b75b51da86c5561e3d Mon Sep 17 00:00:00 2001 From: Quinten Kock Date: Tue, 2 Dec 2025 23:27:40 +0100 Subject: [PATCH] Give focused tab a header color --- src/app/editorgrid.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/editorgrid.ts b/src/app/editorgrid.ts index b36edff..f4c3237 100644 --- a/src/app/editorgrid.ts +++ b/src/app/editorgrid.ts @@ -61,9 +61,9 @@ const EditorWrapper = ( }); return v.div( - { class: "flex flex-col" }, + { class: "flex flex-col group" }, v.div( - { class: "flex" }, + { class: "flex group-focus-within:bg-blue-300" }, v.span({ class: "mx-1 flex-1" }, () => editor.val.title()), u.InlineButton(() => editor.val.close(), "Close", "❌"), ),