fix: Style fixes to the MM edit forms

This commit is contained in:
blessedcoolant 2023-06-30 09:51:48 +12:00 committed by psychedelicious
parent 6684e00f0a
commit 6c6299ce49
3 changed files with 2 additions and 14 deletions

View File

@ -81,19 +81,13 @@ export default function CheckpointModelEdit(props: CheckpointModelEditProps) {
flexDirection="column"
maxHeight={window.innerHeight - 270}
overflowY="scroll"
paddingInlineEnd={8}
>
<form
onSubmit={checkpointEditForm.onSubmit((values) =>
editModelFormSubmitHandler(values)
)}
>
<Flex
flexDirection="column"
overflowY="scroll"
gap={4}
paddingInlineEnd={8}
>
<Flex flexDirection="column" overflowY="scroll" gap={4}>
<IAIInput
label={t('modelManager.name')}
{...checkpointEditForm.getInputProps('name')}

View File

@ -76,12 +76,7 @@ export default function DiffusersModelEdit(props: DiffusersModelEditProps) {
editModelFormSubmitHandler(values)
)}
>
<Flex
flexDirection="column"
overflowY="scroll"
gap={4}
paddingInlineEnd={8}
>
<Flex flexDirection="column" overflowY="scroll" gap={4}>
<IAIInput
label={t('modelManager.name')}
{...diffusersEditForm.getInputProps('name')}

View File

@ -60,7 +60,6 @@ export default function ModelConvert(props: ModelConvertProps) {
size={'sm'}
aria-label={t('modelManager.convertToDiffusers')}
className=" modal-close-btn"
marginInlineEnd={8}
>
🧨 {t('modelManager.convertToDiffusers')}
</IAIButton>