⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.
TypeScript honoissue-managementissue-trackerjira-alternativekanbanlinear-alternativemcpproject-managementreactself-hostedtypescript
fix: improving padding for user info section
Andrej4e904bfc8051
diff --git a/apps/web/src/components/common/sidebar/index.tsx b/apps/web/src/components/common/sidebar/index.tsxindex 980625c6c..48aaa8520 100644--- a/apps/web/src/components/common/sidebar/index.tsx+++ b/apps/web/src/components/common/sidebar/index.tsx@@ -33,6 +33,9 @@ export function Sidebar() {"min-h-screen","fixed lg:relative top-0 left-0","z-30",+ "h-[100dvh]",+ "max-h-[100dvh]",+ "pb-safe",!isSidebarOpened ? "w-16" : "w-64",)}>diff --git a/apps/web/src/components/common/sidebar/sections/user-info.tsx b/apps/web/src/components/common/sidebar/sections/user-info.tsxindex 1f274683e..7eb331ae4 100644--- a/apps/web/src/components/common/sidebar/sections/user-info.tsx+++ b/apps/web/src/components/common/sidebar/sections/user-info.tsx@@ -8,7 +8,12 @@ function UserInfo() {const { isSidebarOpened } = useUserPreferencesStore();return (- <div className="flex items-center gap-3 mb-3">+ <div+ className={cn(+ "flex items-center justify-center",+ isSidebarOpened && "gap-3 mb-3",+ )}+ ><Avatar className="text-zinc-900 dark:text-zinc-100"><AvatarFallback>{user?.name?.charAt(0)}</AvatarFallback></Avatar>diff --git a/apps/web/src/components/common/sidebar/sidebar-footer.tsx b/apps/web/src/components/common/sidebar/sidebar-footer.tsxindex 6a00028b3..7b1c4edc0 100644--- a/apps/web/src/components/common/sidebar/sidebar-footer.tsx+++ b/apps/web/src/components/common/sidebar/sidebar-footer.tsx@@ -10,7 +10,7 @@ function SidebarFooter() {<divclassName={cn("border-t border-zinc-200 dark:border-zinc-800",- !isSidebarOpened ? "p-2" : "p-4",+ !isSidebarOpened ? "p-4" : "p-4",)}><UserInfo />