Skip to content

Commit 7f0c62f

Browse files
fix: remove sidebar collapsible
1 parent fe213fc commit 7f0c62f

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

apps/engine/src/modules/app-layout/app-layout.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import {
22
Separator,
33
SidebarInset,
44
SidebarProvider,
5-
SidebarTrigger,
65
} from '@ds-project/components';
76
import { BreadcrumbNav } from './breadcrumb-nav';
87
import { AppSidebar } from './app-sidebar';
@@ -20,8 +19,8 @@ export function AppLayout({
2019
<SidebarInset>
2120
<header className="flex h-16 shrink-0 items-center gap-2 transition-[width,height] ease-linear group-has-[[data-collapsible=icon]]/sidebar-wrapper:h-12">
2221
<div className="flex items-center gap-2 px-4">
23-
<SidebarTrigger className="-ml-1" />
24-
<Separator orientation="vertical" className="mr-2 h-4" />
22+
{/* <SidebarTrigger className="-ml-1" /> */}
23+
{/* <Separator orientation="vertical" className="mr-2 h-4" /> */}
2524
<BreadcrumbNav />
2625
</div>
2726
</header>

apps/engine/src/modules/app-layout/app-sidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ const groupItems = [
7575

7676
export function AppSidebar({ email }: { email: string }) {
7777
return (
78-
<Sidebar collapsible="icon">
78+
<Sidebar collapsible="none" className="h-screen">
7979
<SidebarHeader>
8080
<SidebarMenu>
8181
<SidebarMenuItem>

0 commit comments

Comments
 (0)