дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-08 19:02:17 +02:00
fix(ui): Keep the Select chevron at the right edge with a custom value (#67)
Select only wrapped its default label in the flex-filling value span, so a renderValue (the data source Color picker's swatch + name) left the chevron right after the text, short of the field's edge. Claude-Session: https://claude.ai/code/session_01VUYsdXA2nkF5v6zsC93dpn
Цей коміт міститься в:
1 джерело
dcdb0e48e4
коміт
580f0efc28
1 file changed
+1
-1
@@ -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} />}
|
||||
|
||||
Reference in new issue
Заблокувати користувача