reset select trigger to default state after selection
This commit is contained in:
parent
715860f997
commit
0c270b4743
2 changed files with 3 additions and 10 deletions
|
|
@ -100,7 +100,7 @@ export const SettingsGeneral: Component = () => {
|
|||
onSelect={(option) => option && settings.appearance.setFont(option.value)}
|
||||
variant="secondary"
|
||||
size="small"
|
||||
triggerStyle={{ "font-family": monoFontFamily(settings.appearance.font()) }}
|
||||
triggerStyle={{ "font-family": monoFontFamily(settings.appearance.font()), "min-width": "180px" }}
|
||||
>
|
||||
{(option) => <span style={{ "font-family": monoFontFamily(option?.value) }}>{option?.label}</span>}
|
||||
</Select>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue