mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix: Style fixes to the MM edit forms
This commit is contained in:
parent
6684e00f0a
commit
6c6299ce49
@ -81,19 +81,13 @@ export default function CheckpointModelEdit(props: CheckpointModelEditProps) {
|
|||||||
flexDirection="column"
|
flexDirection="column"
|
||||||
maxHeight={window.innerHeight - 270}
|
maxHeight={window.innerHeight - 270}
|
||||||
overflowY="scroll"
|
overflowY="scroll"
|
||||||
paddingInlineEnd={8}
|
|
||||||
>
|
>
|
||||||
<form
|
<form
|
||||||
onSubmit={checkpointEditForm.onSubmit((values) =>
|
onSubmit={checkpointEditForm.onSubmit((values) =>
|
||||||
editModelFormSubmitHandler(values)
|
editModelFormSubmitHandler(values)
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<Flex
|
<Flex flexDirection="column" overflowY="scroll" gap={4}>
|
||||||
flexDirection="column"
|
|
||||||
overflowY="scroll"
|
|
||||||
gap={4}
|
|
||||||
paddingInlineEnd={8}
|
|
||||||
>
|
|
||||||
<IAIInput
|
<IAIInput
|
||||||
label={t('modelManager.name')}
|
label={t('modelManager.name')}
|
||||||
{...checkpointEditForm.getInputProps('name')}
|
{...checkpointEditForm.getInputProps('name')}
|
||||||
|
@ -76,12 +76,7 @@ export default function DiffusersModelEdit(props: DiffusersModelEditProps) {
|
|||||||
editModelFormSubmitHandler(values)
|
editModelFormSubmitHandler(values)
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<Flex
|
<Flex flexDirection="column" overflowY="scroll" gap={4}>
|
||||||
flexDirection="column"
|
|
||||||
overflowY="scroll"
|
|
||||||
gap={4}
|
|
||||||
paddingInlineEnd={8}
|
|
||||||
>
|
|
||||||
<IAIInput
|
<IAIInput
|
||||||
label={t('modelManager.name')}
|
label={t('modelManager.name')}
|
||||||
{...diffusersEditForm.getInputProps('name')}
|
{...diffusersEditForm.getInputProps('name')}
|
||||||
|
@ -60,7 +60,6 @@ export default function ModelConvert(props: ModelConvertProps) {
|
|||||||
size={'sm'}
|
size={'sm'}
|
||||||
aria-label={t('modelManager.convertToDiffusers')}
|
aria-label={t('modelManager.convertToDiffusers')}
|
||||||
className=" modal-close-btn"
|
className=" modal-close-btn"
|
||||||
marginInlineEnd={8}
|
|
||||||
>
|
>
|
||||||
🧨 {t('modelManager.convertToDiffusers')}
|
🧨 {t('modelManager.convertToDiffusers')}
|
||||||
</IAIButton>
|
</IAIButton>
|
||||||
|
Loading…
Reference in New Issue
Block a user