diff options
| author | adamelmore <[email protected]> | 2026-01-27 08:28:55 -0600 |
|---|---|---|
| committer | adamelmore <[email protected]> | 2026-01-27 08:43:37 -0600 |
| commit | 099ab929dbfcbe9e167e1afd46487e039e46b1c2 (patch) | |
| tree | 28540d7a1dd0d4fe480b48668fad359ba75d817a /packages/app/src/components/prompt-input.tsx | |
| parent | eac2d4c6999f79085ac72dd4812125674030ef16 (diff) | |
| download | opencode-099ab929dbfcbe9e167e1afd46487e039e46b1c2.tar.gz opencode-099ab929dbfcbe9e167e1afd46487e039e46b1c2.zip | |
chore(app): cleanup tailwind vs pure css
Diffstat (limited to 'packages/app/src/components/prompt-input.tsx')
| -rw-r--r-- | packages/app/src/components/prompt-input.tsx | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/packages/app/src/components/prompt-input.tsx b/packages/app/src/components/prompt-input.tsx index 84f16d67e..c736ef0f1 100644 --- a/packages/app/src/components/prompt-input.tsx +++ b/packages/app/src/components/prompt-input.tsx @@ -1746,10 +1746,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => { <Tooltip value={ <span class="flex max-w-[300px]"> - <span - class="text-text-invert-base truncate min-w-0" - style={{ direction: "rtl", "text-align": "left", "unicode-bidi": "plaintext" }} - > + <span class="text-text-invert-base truncate-start [unicode-bidi:plaintext] min-w-0"> {getDirectory(item.path)} </span> <span class="shrink-0">{getFilename(item.path)}</span> @@ -1772,10 +1769,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => { > <div class="flex items-center gap-1.5"> <FileIcon node={{ path: item.path, type: "file" }} class="shrink-0 size-3.5" /> - <div - class="flex items-center text-11-regular min-w-0" - style={{ "font-weight": "var(--font-weight-medium)" }} - > + <div class="flex items-center text-11-regular min-w-0 font-medium"> <span class="text-text-strong whitespace-nowrap">{getFilenameTruncated(item.path, 14)}</span> <Show when={item.selection}> {(sel) => ( |
