From 5bfd637aa85242098c7b301f020d8cf16532a9e6 Mon Sep 17 00:00:00 2001 From: lukman Date: Mon, 8 Jul 2024 17:31:32 +0800 Subject: [PATCH] stye : add global Deskripsi: - layout drawer - navbar group No issue --- src/module/_global/layout/layout_drawer.tsx | 2 +- src/module/group/components/ui/navbar_group.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/module/_global/layout/layout_drawer.tsx b/src/module/_global/layout/layout_drawer.tsx index be177e3..2ec201d 100644 --- a/src/module/_global/layout/layout_drawer.tsx +++ b/src/module/_global/layout/layout_drawer.tsx @@ -5,7 +5,7 @@ import { WARNA } from '../fun/WARNA'; export default function LayoutDrawer({ opened, onClose, title, children, size }: { children: React.ReactNode, opened: boolean, size?: string, onClose: () => void, title: React.ReactNode }) { return ( - {title}} onClose={onClose} position={"bottom"} size={(size == 'lg') ? '80%' : '30%'} + {title}} onClose={onClose} position={"bottom"} size={(size == 'lg') ? '80%' : '35%'} styles={{ content: { backgroundColor: "white", diff --git a/src/module/group/components/ui/navbar_group.tsx b/src/module/group/components/ui/navbar_group.tsx index f58675d..434dbdc 100644 --- a/src/module/group/components/ui/navbar_group.tsx +++ b/src/module/group/components/ui/navbar_group.tsx @@ -27,7 +27,7 @@ export default function NavbarGroup() { - openDrawerMenu.set(false)}> + openDrawerMenu.set(false)}>