Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

fix: show header left panel windows and linux

Faisal Amir0c5a10fa71d5
diff --git a/web-app/src/components/left-sidebar/index.tsx b/web-app/src/components/left-sidebar/index.tsx
index 0cdd44955..818a5628b 100644
--- a/web-app/src/components/left-sidebar/index.tsx
+++ b/web-app/src/components/left-sidebar/index.tsx
@@ -21,8 +21,10 @@ export function LeftSidebar() {
<SidebarHeader className="flex px-1">
<div className={cn("flex items-center w-full justify-between", IS_MACOS && "justify-end")}>
{!IS_MACOS && <span className="ml-2 font-medium font-studio">Jan</span>}
- {isLeftPanelOpen && <DownloadManagement />}
- <SidebarTrigger className="text-muted-foreground rounded-full hover:bg-sidebar-foreground/8! -mt-0.5 relative z-50 ml-0.5" />
+ <div>
+ {isLeftPanelOpen && <DownloadManagement />}
+ <SidebarTrigger className="text-muted-foreground rounded-full hover:bg-sidebar-foreground/8! -mt-0.5 relative z-50 ml-0.5" />
+ </div>
</div>
<NavMain />
</SidebarHeader>