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"
|
||||
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')}
|
||||
|
@ -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')}
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user