| ... | @@ -156,10 +156,8 @@ function SidebarProvider({ | ... | @@ -156,10 +156,8 @@ function SidebarProvider({ |
| 156 | return ( | 156 | return ( |
| 157 | <SidebarContext value={contextValue}> | 157 | <SidebarContext value={contextValue}> |
| 158 | <div | 158 | <div |
| 159 | className={cn( | 159 | // Inset layouts opt into bg-sidebar through className. |
| 160 | "group/sidebar-wrapper flex min-h-svh w-full has-data-[variant=inset]:bg-sidebar", | 160 | className={cn("group/sidebar-wrapper flex min-h-svh w-full", className)} |
| 161 | className, | | |
| 162 | )} | | |
| 163 | data-sidebar-state={state} | 161 | data-sidebar-state={state} |
| 164 | data-slot="sidebar-wrapper" | 162 | data-slot="sidebar-wrapper" |
| 165 | style={ | 163 | style={ |