Colores de fondo en layout
This commit is contained in:
parent
d955d903a0
commit
3826f40048
@ -82,7 +82,7 @@ export const ListCustomersPage = () => {
|
||||
/>
|
||||
</AppHeader>
|
||||
|
||||
<AppContent className="min-h-0">
|
||||
<AppContent>
|
||||
{isPanelOpen ? (
|
||||
<ResizablePanelGroup
|
||||
autoSave="list-customers-page"
|
||||
|
||||
@ -8,10 +8,7 @@ export const AppContent = ({
|
||||
}: PropsWithChildren<{ className?: string }>) => {
|
||||
return (
|
||||
<div
|
||||
className={cn(
|
||||
"app-content flex flex-1 flex-col gap-4 p-4 pt-6 min-h-screen bg-muted/20",
|
||||
className
|
||||
)}
|
||||
className={cn("app-content flex flex-1 flex-col gap-4 p-4 pt-6 min-h-screen", className)}
|
||||
{...props}
|
||||
>
|
||||
{children}
|
||||
|
||||
@ -6,6 +6,7 @@ import { AppSidebar } from "./app-sidebar.tsx";
|
||||
export const AppLayout = () => {
|
||||
return (
|
||||
<SidebarProvider
|
||||
className="bg-amber-500"
|
||||
style={
|
||||
{
|
||||
"--sidebar-width": "calc(var(--spacing) * 72)",
|
||||
@ -13,9 +14,9 @@ export const AppLayout = () => {
|
||||
} as React.CSSProperties
|
||||
}
|
||||
>
|
||||
<AppSidebar variant="inset" />
|
||||
<AppSidebar className="bg-sidebar" variant="inset" />
|
||||
{/* Aquí está el MAIN */}
|
||||
<SidebarInset className="app-main">
|
||||
<SidebarInset className="app-main bg-muted">
|
||||
<Outlet />
|
||||
</SidebarInset>
|
||||
</SidebarProvider>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user