Просмотр исходного кода

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

David Hill 4 недель назад
Родитель
Сommit
43906f56c8
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      packages/app/src/components/prompt-input.tsx

+ 2 - 2
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>