diff options
| author | David Hill <[email protected]> | 2026-01-15 17:39:02 +0000 |
|---|---|---|
| committer | David Hill <[email protected]> | 2026-01-15 19:15:21 +0000 |
| commit | e5b08da0f1d2e620944c372ba2207f448911fe73 (patch) | |
| tree | 05763b805062186d674efbf638dfe30a67e88fe4 | |
| parent | fe2cc0cff158a844f0ec84ede7b9f95753ef9301 (diff) | |
| download | opencode-e5b08da0f1d2e620944c372ba2207f448911fe73.tar.gz opencode-e5b08da0f1d2e620944c372ba2207f448911fe73.zip | |
fix: tooltip gutter spacing on session items and archive buttons
| -rw-r--r-- | packages/app/src/pages/layout.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/app/src/pages/layout.tsx b/packages/app/src/pages/layout.tsx index 54f5667da..9938e3061 100644 --- a/packages/app/src/pages/layout.tsx +++ b/packages/app/src/pages/layout.tsx @@ -873,7 +873,7 @@ export default function Layout(props: ParentProps) { class="group/session relative w-full rounded-md cursor-default transition-colors px-3 hover:bg-surface-raised-base-hover focus-within:bg-surface-raised-base-hover has-[.active]:bg-surface-raised-base-hover" > - <Tooltip placement={props.mobile ? "bottom" : "right"} value={props.session.title} gutter={10}> + <Tooltip placement={props.mobile ? "bottom" : "right"} value={props.session.title} gutter={16}> <A href={`${props.slug}/session/${props.session.id}`} class={`flex items-center justify-between gap-3 min-w-0 text-left w-full focus:outline-none transition-[padding] group-hover/session:pr-7 group-focus-within/session:pr-7 group-active/session:pr-7 ${props.dense ? "py-0.5" : "py-1"}`} @@ -920,6 +920,7 @@ export default function Layout(props: ParentProps) { placement={props.mobile ? "bottom" : "right"} title="Archive session" keybind={command.keybind("session.archive")} + gutter={8} > <IconButton icon="archive" variant="ghost" onClick={() => archiveSession(props.session)} /> </TooltipKeybind> |
