diff options
| author | Adam <[email protected]> | 2025-10-28 09:48:54 -0500 |
|---|---|---|
| committer | Adam <[email protected]> | 2025-10-28 15:29:16 -0500 |
| commit | 4e0ab6b6346606bc07918c6d10981729994d0cc7 (patch) | |
| tree | ff72b5460209c67a05903e7caeb44134f9998765 /packages/desktop/src/pages | |
| parent | d36485b7af9646f78fdab84c174cede47ddc4c60 (diff) | |
| download | opencode-4e0ab6b6346606bc07918c6d10981729994d0cc7.tar.gz opencode-4e0ab6b6346606bc07918c6d10981729994d0cc7.zip | |
wip: desktop work
Diffstat (limited to 'packages/desktop/src/pages')
| -rw-r--r-- | packages/desktop/src/pages/index.tsx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/packages/desktop/src/pages/index.tsx b/packages/desktop/src/pages/index.tsx index 7da925459..42e96e32e 100644 --- a/packages/desktop/src/pages/index.tsx +++ b/packages/desktop/src/pages/index.tsx @@ -696,24 +696,24 @@ export default function Page() { <Accordion.Item value={diff.file}> <Accordion.Header> <Accordion.Trigger onClick={handleDiffTriggerClick}> - <div class="flex items-center justify-between w-full"> - <div class="flex items-center gap-5"> + <div class="flex items-center justify-between w-full gap-5"> + <div class="grow flex items-center gap-5 min-w-0"> <FileIcon node={{ path: diff.file, type: "file" }} class="shrink-0 size-4" /> - <div class="flex"> + <div class="flex grow min-w-0"> <Show when={diff.file.includes("/")}> - <span class="text-text-base"> - {getDirectory(diff.file)} + <span class="text-text-base truncate-start"> + {getDirectory(diff.file)}‎ </span> </Show> - <span class="text-text-strong"> + <span class="text-text-strong shrink-0"> {getFilename(diff.file)} </span> </div> </div> - <div class="flex gap-4 items-center justify-end"> + <div class="shrink-0 flex gap-4 items-center justify-end"> <DiffChanges diff={diff} /> <Icon name="chevron-grabber-vertical" size="small" /> </div> |
