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.

chore: adjustment drag area

Faisal Amir00fb50c752a8
diff --git a/web-app/src/components/left-sidebar/index.tsx b/web-app/src/components/left-sidebar/index.tsx
index 0add71c86..9cec9ec11 100644
--- a/web-app/src/components/left-sidebar/index.tsx
+++ b/web-app/src/components/left-sidebar/index.tsx
@@ -16,7 +16,7 @@ export function LeftSidebar() {
return (
<Sidebar variant="floating" collapsible="offcanvas">
<SidebarHeader className="flex items-end px-1">
- <SidebarTrigger className="text-muted-foreground rounded-full hover:bg-sidebar-foreground/8!" />
+ <SidebarTrigger className="text-muted-foreground rounded-full hover:bg-sidebar-foreground/8! -mt-0.5" />
<NavMain />
</SidebarHeader>
<SidebarContent className="mask-b-from-95% mask-t-from-98%">
diff --git a/web-app/src/routes/__root.tsx b/web-app/src/routes/__root.tsx
index b3c441431..286caf25a 100644
--- a/web-app/src/routes/__root.tsx
+++ b/web-app/src/routes/__root.tsx
@@ -56,7 +56,7 @@ const AppLayout = () => {
<KeyboardShortcutsProvider />
{/* Fake absolute panel top to enable window drag */}
{IS_MACOS &&
- <div className="fixed w-full h-2 z-20 top-0" data-tauri-drag-region />
+ <div className="fixed w-full h-3 z-20 top-0" data-tauri-drag-region />
}
<DialogAppUpdater />
<BackendUpdater />