File tree Expand file tree Collapse file tree
app/src/components/layout Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -742,12 +742,15 @@ export function Sidebar() {
742742 { /* Logo */ }
743743 < div
744744 className = { cn (
745- "h-20 pt-8 flex items-center justify-between border-b border-sidebar-border shrink-0 titlebar-drag-region" ,
746- sidebarOpen ? "px-3 lg:px-6" : "px-3"
745+ "h-20 border-b border-sidebar-border shrink-0 titlebar-drag-region" ,
746+ sidebarOpen ? "pt-8 px-3 lg:px-6 flex items-center justify-between " : "pt-2 pb-2 px-3 flex flex-col items-center justify-center gap-2 "
747747 ) }
748748 >
749749 < div
750- className = "flex items-center titlebar-no-drag cursor-pointer"
750+ className = { cn (
751+ "flex items-center titlebar-no-drag cursor-pointer" ,
752+ ! sidebarOpen && "flex-col gap-1"
753+ ) }
751754 onClick = { ( ) => setCurrentView ( "welcome" ) }
752755 data-testid = "logo-button"
753756 >
You can’t perform that action at this time.
0 commit comments