fix: position

Deskripsi:
- fix ukuran drawer tambah jabatan
- ukuran form tambah grup

No Issues
This commit is contained in:
amel
2024-10-23 14:36:10 +08:00
parent f5cc008775
commit 794b10cc7a
3 changed files with 16 additions and 25 deletions

View File

@@ -8,7 +8,7 @@ export default function LayoutDrawer({ opened, onClose, title, children, size }:
const tema = useHookstate(TEMA)
return (
<Box>
<Drawer opened={opened} title={<Text c={tema.get().utama} fw={'bold'}>{title}</Text>} onClose={onClose} position={"bottom"} size={(size == 'lg') ? '80%' : '40%' }
<Drawer opened={opened} title={<Text c={tema.get().utama} fw={'bold'}>{title}</Text>} onClose={onClose} position={"bottom"} size={(size == 'lg') ? '80%' : (size == 'md') ? '45%' : '40%'}
styles={{
content: {
backgroundColor: "white",