@trycompai/design-system 1.0.40 → 1.0.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -70,7 +70,7 @@ const sidebarWidths = {
|
|
|
70
70
|
} as const;
|
|
71
71
|
|
|
72
72
|
const appShellSidebarVariants = cva(
|
|
73
|
-
'shrink-0 overflow-hidden hidden md:flex md:flex-col transition-[width,padding,opacity] duration-200 ease-in-out',
|
|
73
|
+
'shrink-0 overflow-hidden overscroll-none hidden md:flex md:flex-col transition-[width,padding,opacity] duration-200 ease-in-out',
|
|
74
74
|
{
|
|
75
75
|
variants: {
|
|
76
76
|
variant: {
|
|
@@ -354,7 +354,7 @@ function AppShellBody({ children, ...props }: AppShellBodyProps) {
|
|
|
354
354
|
const { mobileDrawerOpen, setMobileDrawerOpen, railContent, sidebarContent, sidebarVariant } = useAppShell();
|
|
355
355
|
|
|
356
356
|
return (
|
|
357
|
-
<div data-slot="app-shell-body" className="
|
|
357
|
+
<div data-slot="app-shell-body" className="flex flex-1 overflow-hidden overscroll-none bg-background/50 min-h-0 gap-0" {...props}>
|
|
358
358
|
{/* Mobile drawer - shows both rail and sidebar */}
|
|
359
359
|
<div className="md:hidden">
|
|
360
360
|
{/* Backdrop */}
|