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(sidebar): reduce max width of left sidebar to prevent content cramping (#7990)

Octopusc18bd2db26e4
diff --git a/web-app/src/components/ui/sidebar.tsx b/web-app/src/components/ui/sidebar.tsx
index b06d8f150..a915c0e7f 100644
--- a/web-app/src/components/ui/sidebar.tsx
+++ b/web-app/src/components/ui/sidebar.tsx
@@ -30,7 +30,7 @@ const SIDEBAR_KEYBOARD_SHORTCUT = "b";
//* new constants for sidebar resizing
const MIN_SIDEBAR_WIDTH = "14rem";
-const MAX_SIDEBAR_WIDTH = "40rem";
+const MAX_SIDEBAR_WIDTH = "20rem";
type SidebarContext = {
state: "expanded" | "collapsed";