Give focused tab a header color
This commit is contained in:
parent
db5f33e961
commit
019f0a2023
|
|
@ -61,9 +61,9 @@ const EditorWrapper = (
|
||||||
});
|
});
|
||||||
|
|
||||||
return v.div(
|
return v.div(
|
||||||
{ class: "flex flex-col" },
|
{ class: "flex flex-col group" },
|
||||||
v.div(
|
v.div(
|
||||||
{ class: "flex" },
|
{ class: "flex group-focus-within:bg-blue-300" },
|
||||||
v.span({ class: "mx-1 flex-1" }, () => editor.val.title()),
|
v.span({ class: "mx-1 flex-1" }, () => editor.val.title()),
|
||||||
u.InlineButton(() => editor.val.close(), "Close", "❌"),
|
u.InlineButton(() => editor.val.close(), "Close", "❌"),
|
||||||
),
|
),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue