fix: show project options on hover of row
This commit is contained in:
@@ -1319,7 +1319,7 @@ export default function Layout(props: ParentProps) {
|
|||||||
{(p) => (
|
{(p) => (
|
||||||
<>
|
<>
|
||||||
<div class="shrink-0 px-2 py-1">
|
<div class="shrink-0 px-2 py-1">
|
||||||
<div class="flex items-start justify-between gap-2 p-2">
|
<div class="group/project flex items-start justify-between gap-2 p-2 pr-1">
|
||||||
<div class="flex flex-col min-w-0">
|
<div class="flex flex-col min-w-0">
|
||||||
<span class="text-16-medium text-text-strong truncate">{projectName()}</span>
|
<span class="text-16-medium text-text-strong truncate">{projectName()}</span>
|
||||||
<Tooltip placement="right" value={project()?.worktree} class="shrink-0">
|
<Tooltip placement="right" value={project()?.worktree} class="shrink-0">
|
||||||
@@ -1333,7 +1333,7 @@ export default function Layout(props: ParentProps) {
|
|||||||
as={IconButton}
|
as={IconButton}
|
||||||
icon="dot-grid"
|
icon="dot-grid"
|
||||||
variant="ghost"
|
variant="ghost"
|
||||||
class="shrink-0 size-6 rounded-md"
|
class="shrink-0 size-6 rounded-md hidden group-hover/project:flex group-focus-within/project:flex"
|
||||||
/>
|
/>
|
||||||
<DropdownMenu.Portal>
|
<DropdownMenu.Portal>
|
||||||
<DropdownMenu.Content>
|
<DropdownMenu.Content>
|
||||||
|
|||||||
Reference in New Issue
Block a user