mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): processor select styling
This commit is contained in:
parent
c96b98fc9e
commit
47ee08db91
@ -48,20 +48,21 @@ export const ControlAdapterProcessorTypeSelect = memo(({ config, onChange }: Pro
|
|||||||
const value = useMemo(() => options.find((o) => o.value === config?.type) ?? null, [options, config?.type]);
|
const value = useMemo(() => options.find((o) => o.value === config?.type) ?? null, [options, config?.type]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<FormControl>
|
<Flex gap={2}>
|
||||||
<InformationalPopover feature="controlNetProcessor">
|
<FormControl>
|
||||||
<FormLabel>{t('controlnet.processor')}</FormLabel>
|
<InformationalPopover feature="controlNetProcessor">
|
||||||
</InformationalPopover>
|
<FormLabel>{t('controlnet.processor')}</FormLabel>
|
||||||
<Flex gap={4}>
|
</InformationalPopover>
|
||||||
<Combobox value={value} options={options} onChange={_onChange} isSearchable={false} isClearable={false} />
|
<Combobox value={value} options={options} onChange={_onChange} isSearchable={false} isClearable={false} />
|
||||||
<IconButton
|
</FormControl>
|
||||||
aria-label={t('controlnet.processor')}
|
<IconButton
|
||||||
onClick={clearProcessor}
|
aria-label={t('controlnet.processor')}
|
||||||
icon={<PiXBold />}
|
onClick={clearProcessor}
|
||||||
variant="ghost"
|
icon={<PiXBold />}
|
||||||
/>
|
variant="ghost"
|
||||||
</Flex>
|
size="sm"
|
||||||
</FormControl>
|
/>
|
||||||
|
</Flex>
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user