refactor: improve layout formatting in AppShell and AppSidebarLayout; update button text in ProductCreate and ProductEdit
This commit is contained in:
parent
15161b6ea4
commit
f97e59bccf
@ -17,5 +17,12 @@ export function AppShell({ children, variant = 'sidebar' }: Props) {
|
||||
);
|
||||
}
|
||||
|
||||
return <SidebarProvider defaultOpen={isOpen} className="h-screen overflow-hidden">{children}</SidebarProvider>;
|
||||
return (
|
||||
<SidebarProvider
|
||||
defaultOpen={isOpen}
|
||||
className="h-screen overflow-hidden"
|
||||
>
|
||||
{children}
|
||||
</SidebarProvider>
|
||||
);
|
||||
}
|
||||
|
||||
@ -13,7 +13,7 @@ export default function AppSidebarLayout({
|
||||
<AppSidebar />
|
||||
<AppContent
|
||||
variant="sidebar"
|
||||
className="flex-1 overflow-y-auto overflow-x-hidden"
|
||||
className="flex-1 overflow-x-hidden overflow-y-auto"
|
||||
>
|
||||
<AppSidebarHeader breadcrumbs={breadcrumbs} />
|
||||
{children}
|
||||
|
||||
@ -584,7 +584,8 @@ export default function ProductCreate({ categories }: Props) {
|
||||
)
|
||||
}
|
||||
>
|
||||
Terapkan ke Semua
|
||||
Terapkan
|
||||
ke Semua
|
||||
</Button>
|
||||
</>
|
||||
)}
|
||||
|
||||
@ -664,7 +664,8 @@ export default function ProductEdit({ product, categories }: Props) {
|
||||
)
|
||||
}
|
||||
>
|
||||
Terapkan ke Semua
|
||||
Terapkan
|
||||
ke Semua
|
||||
</Button>
|
||||
</>
|
||||
)}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user