mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-21 10:42:33 +00:00
retain session hover state when popover open and update border radius
This commit is contained in:
parent
cf284e32aa
commit
a05c334702
2 changed files with 2 additions and 2 deletions
|
|
@ -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()}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue