From 0149450bc4fc392adaac00a479eb8930a708803f Mon Sep 17 00:00:00 2001 From: talksik Date: Wed, 18 Mar 2026 09:49:12 -0700 Subject: [PATCH] compress the size of top bar --- js/src/pages/path-resolver.tsx | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/js/src/pages/path-resolver.tsx b/js/src/pages/path-resolver.tsx index 8b785c8..482e40f 100644 --- a/js/src/pages/path-resolver.tsx +++ b/js/src/pages/path-resolver.tsx @@ -5,7 +5,6 @@ import { ParticleListView } from "@/features/particles/particle-list-view"; import { ParticleViewResolver } from "@/features/particles/particle-view-resolver"; import { WindowControls } from "@/components/window-controls"; import { Button } from "@/components/ui/button"; -import { Muted } from "@/components/ui/typography"; import { Breadcrumb, BreadcrumbItem, @@ -42,16 +41,15 @@ function NetworkBreadcrumbContent({ networkId }: { networkId: string }) { function TopBar({ segments }: { segments: string[] }) { const navigate = useNavigate(); - const user = useAuthStore((s) => s.user); const networkId = segments[0] ?? null; return ( -
+
- + {segments.length === 0 ? ( @@ -71,7 +69,7 @@ function TopBar({ segments }: { segments: string[] }) { {networkId && ( - + {segments.length === 1 ? ( @@ -95,7 +93,7 @@ function TopBar({ segments }: { segments: string[] }) { return ( - + {isLast ? ( {segment} ) : ( @@ -114,7 +112,7 @@ function TopBar({ segments }: { segments: string[] }) {
- {user && {user.email_prefix}} +