retain session hover state when popover open and update border radius

This commit is contained in:
David Hill
2026-01-20 00:24:51 +00:00
parent cf284e32aa
commit a05c334702
2 changed files with 2 additions and 2 deletions

View File

@@ -1411,7 +1411,7 @@ export default function Layout(props: ParentProps) {
<div
data-session-id={props.session.id}
class="group/session relative w-full rounded-md cursor-default transition-colors pl-2 pr-3
hover:bg-surface-raised-base-hover focus-within:bg-surface-raised-base-hover has-[.active]:bg-surface-base-active"
hover:bg-surface-raised-base-hover focus-within:bg-surface-raised-base-hover has-[[data-expanded]]:bg-surface-raised-base-hover has-[.active]:bg-surface-base-active"
>
<Show
when={hoverEnabled()}

View File

@@ -8,7 +8,7 @@
z-index: 50;
min-width: 200px;
max-width: 320px;
border-radius: var(--radius-md);
border-radius: 8px;
background-color: var(--surface-raised-stronger-non-alpha);
pointer-events: auto;