@@ -22,7 +22,6 @@ import {
2222 TriangleAlertIcon ,
2323} from "lucide-react" ;
2424import { OkCodeMark } from "./OkCodeMark" ;
25- import { ConnectionIndicator } from "./ConnectionIndicator" ;
2625import { memo , useCallback , useEffect , useMemo , useRef , useState , type MouseEvent } from "react" ;
2726import {
2827 DndContext ,
@@ -1802,9 +1801,9 @@ export default function Sidebar() {
18021801 < Tooltip >
18031802 < TooltipTrigger
18041803 render = {
1805- < div className = "wordmark-stitch flex min-w-0 flex-1 items-center justify-center gap-1.5 cursor-pointer mx-auto px-3 py-1.5 rounded-lg " >
1806- < OkCodeMark className = "size-6 text-foreground drop-shadow-[0_1px_0_rgba(255,255,255,0.15)]" />
1807- < span className = "truncate text-base font-semibold tracking-wide text-foreground drop-shadow-[0_1px_0_rgba(255,255,255,0.15)]" >
1804+ < div className = "wordmark-stitch flex min-w-0 flex-1 items-center justify-center gap-1.5 cursor-pointer mx-auto px-2.5 py-1 rounded-md " >
1805+ < OkCodeMark className = "size-5 text-foreground drop-shadow-[0_1px_0_rgba(255,255,255,0.15)]" />
1806+ < span className = "truncate text-sm font-semibold tracking-wide text-foreground drop-shadow-[0_1px_0_rgba(255,255,255,0.15)]" >
18081807 { APP_BASE_NAME }
18091808 </ span >
18101809 </ div >
@@ -1821,10 +1820,9 @@ export default function Sidebar() {
18211820 < >
18221821 { isElectron ? (
18231822 < >
1824- < SidebarHeader className = "drag-region h-[52px ] flex-row items-center gap-2 px-4 py-0 pl-[90px]" >
1823+ < SidebarHeader className = "drag-region h-[42px ] flex-row items-center gap-2 px-4 py-0 pl-[90px]" >
18251824 { wordmark }
1826- < div className = "ml-auto flex items-center gap-1 mt-1.5" >
1827- < ConnectionIndicator />
1825+ < div className = "ml-auto flex items-center gap-1" >
18281826 { showDesktopUpdateButton && (
18291827 < Tooltip >
18301828 < TooltipTrigger
@@ -1850,10 +1848,10 @@ export default function Sidebar() {
18501848 < button
18511849 type = "button"
18521850 aria-label = "Collapse sidebar"
1853- className = "hidden md:inline-flex size-7 items-center justify-center rounded-md text-muted-foreground transition-colors hover:bg-accent hover:text-foreground"
1851+ className = "hidden md:inline-flex size-6 items-center justify-center rounded-md text-muted-foreground transition-all duration-150 hover:bg-accent hover:text-foreground active:scale-90 "
18541852 onClick = { toggleSidebar }
18551853 >
1856- < PanelLeftCloseIcon className = "size-4 " />
1854+ < PanelLeftCloseIcon className = "size-3.5 " />
18571855 </ button >
18581856 }
18591857 />
@@ -1863,11 +1861,10 @@ export default function Sidebar() {
18631861 </ SidebarHeader >
18641862 </ >
18651863 ) : (
1866- < SidebarHeader className = "gap-3 px-3 py-2 sm:gap-2.5 sm:px-4 sm:py-3 " >
1864+ < SidebarHeader className = "gap-2 px-3 py-1.5 sm:gap-2 sm:px-4 sm:py-2 " >
18671865 < div className = "flex flex-row items-center gap-2" >
18681866 { wordmark }
18691867 < div className = "ml-auto flex items-center gap-1" >
1870- < ConnectionIndicator />
18711868 { serverUpdateInfo ?. updateAvailable && (
18721869 < Tooltip >
18731870 < TooltipTrigger
@@ -1899,10 +1896,10 @@ export default function Sidebar() {
18991896 < button
19001897 type = "button"
19011898 aria-label = "Collapse sidebar"
1902- className = "hidden md:inline-flex size-7 items-center justify-center rounded-md text-muted-foreground transition-colors hover:bg-accent hover:text-foreground"
1899+ className = "hidden md:inline-flex size-6 items-center justify-center rounded-md text-muted-foreground transition-all duration-150 hover:bg-accent hover:text-foreground active:scale-90 "
19031900 onClick = { toggleSidebar }
19041901 >
1905- < PanelLeftCloseIcon className = "size-4 " />
1902+ < PanelLeftCloseIcon className = "size-3.5 " />
19061903 </ button >
19071904 }
19081905 />
0 commit comments