From e756baa0c4a18bf850772d1c95986e2aa5e3c571 Mon Sep 17 00:00:00 2001 From: Bruno Quaresma Date: Thu, 2 Nov 2023 16:39:46 -0300 Subject: [PATCH] refactor(site): simplify proxy menu (#10496) --- site/src/components/Dashboard/Navbar/NavbarView.tsx | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/site/src/components/Dashboard/Navbar/NavbarView.tsx b/site/src/components/Dashboard/Navbar/NavbarView.tsx index ae46a3f403..ba3735a1b0 100644 --- a/site/src/components/Dashboard/Navbar/NavbarView.tsx +++ b/site/src/components/Dashboard/Navbar/NavbarView.tsx @@ -304,9 +304,9 @@ const ProxyMenu: FC<{ proxyContextValue: ProxyContextValue }> = ({ if (isLoading) { return ( ); } @@ -319,13 +319,13 @@ const ProxyMenu: FC<{ proxyContextValue: ProxyContextValue }> = ({ size="small" endIcon={} sx={{ - borderRadius: "4px", + borderRadius: "999px", "& .MuiSvgIcon-root": { fontSize: 14 }, }} > {selectedProxy ? ( - - + + = ({ height="100%" /> - {selectedProxy.display_name}