🐛 Fix AddAppShelfItem image fit not properly set

Resolves #117
This commit is contained in:
ajnart
2022-05-17 00:55:24 +02:00
parent 8cdc9c3e29
commit 13aeeefb22

View File

@@ -154,7 +154,7 @@ export function AddAppShelfItemForm(props: { setOpened: (b: boolean) => void } &
return ( return (
<> <>
<Center> <Center>
<Image height={120} width={120} src={form.values.icon} alt="Placeholder" withPlaceholder /> <Image height={120} width={120} fit="contain" src={form.values.icon} alt="Placeholder" withPlaceholder />
</Center> </Center>
<form <form
onSubmit={form.onSubmit(() => { onSubmit={form.onSubmit(() => {