mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
feat(ui): tweak slider label spacing
This commit is contained in:
parent
d1ecd007ab
commit
457e4b7fc5
@ -201,7 +201,11 @@ const IAISlider = (props: IAIFullSliderProps) => {
|
|||||||
isDisabled={isDisabled}
|
isDisabled={isDisabled}
|
||||||
{...sliderFormControlProps}
|
{...sliderFormControlProps}
|
||||||
>
|
>
|
||||||
{label && <FormLabel {...sliderFormLabelProps}>{label}</FormLabel>}
|
{label && (
|
||||||
|
<FormLabel sx={withInput ? { mb: -1.5 } : {}} {...sliderFormLabelProps}>
|
||||||
|
{label}
|
||||||
|
</FormLabel>
|
||||||
|
)}
|
||||||
|
|
||||||
<HStack w="100%" gap={2} alignItems="center">
|
<HStack w="100%" gap={2} alignItems="center">
|
||||||
<Slider
|
<Slider
|
||||||
|
Loading…
Reference in New Issue
Block a user