Skip to content

The open source coding agent.

TypeScript

fix(app): remove space between ellipsis and truncated text in comment card tooltip

David Hill43906f56c864
diff --git a/packages/app/src/components/prompt-input.tsx b/packages/app/src/components/prompt-input.tsx
index d25a61c324c..8fb6155fae6 100644
--- a/packages/app/src/components/prompt-input.tsx
+++ b/packages/app/src/components/prompt-input.tsx
@@ -1717,9 +1717,9 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
<span class="flex max-w-[300px]">
<span
class="text-text-invert-base truncate min-w-0"
- style={{ direction: "rtl", "text-align": "left" }}
+ style={{ direction: "rtl", "text-align": "left", "unicode-bidi": "plaintext" }}
>
- <bdi>{getDirectory(item.path)}</bdi>
+ {getDirectory(item.path)}
</span>
<span class="shrink-0">{getFilename(item.path)}</span>
</span>