💄 App shell styling

The modal now looks a little bit better
This commit is contained in:
Aj - Thomas
2022-05-16 12:37:38 +02:00
committed by ajnart
parent c5178ee288
commit 509873db55

View File

@@ -12,6 +12,7 @@ import {
LoadingOverlay, LoadingOverlay,
ActionIcon, ActionIcon,
Tooltip, Tooltip,
Title,
} from '@mantine/core'; } from '@mantine/core';
import { useForm } from '@mantine/form'; import { useForm } from '@mantine/form';
import { motion } from 'framer-motion'; import { motion } from 'framer-motion';
@@ -26,11 +27,11 @@ export function AddItemShelfButton(props: any) {
return ( return (
<> <>
<Modal <Modal
size="xl" size="md"
radius="md" radius="md"
title={<Title order={3}>Add service</Title>}
opened={props.opened || opened} opened={props.opened || opened}
onClose={() => setOpened(false)} onClose={() => setOpened(false)}
title="Add a service"
> >
<AddAppShelfItemForm setOpened={setOpened} /> <AddAppShelfItemForm setOpened={setOpened} />
</Modal> </Modal>