Skip to content

The IDE you know, rebuilt in Rust. IntelliJ IDEA–style keymap, tool windows and search-everywhere in a fast native app: editor, code insight, debugger, Git, terminal, database and HTTP clients for 60+ languages.

fix(ui): Keep the Select chevron at the right edge with a custom value (#67)

l0ng-ai580f0efc28cd
diff --git a/src/ui/Select.tsx b/src/ui/Select.tsx
index cc4ca258c..f62d47f1d 100644
--- a/src/ui/Select.tsx
+++ b/src/ui/Select.tsx
@@ -107,7 +107,7 @@ export function Select<V extends string = string>({
}}
>
{renderValue ? (
- renderValue(current)
+ <span className={styles.value}>{renderValue(current)}</span>
) : (
<>
{current?.icon && <Icon name={current.icon} size={14} />}