From 5bf43c9f3d09faae49fbc99714456d18e3172ff2 Mon Sep 17 00:00:00 2001 From: Julius Marminge Date: Mon, 14 Sep 2026 16:09:33 -0700 Subject: [PATCH] fix(web): align monogram project icons in menus (#11806) Co-authored-by: Claude Fable 5 --- apps/web/src/components/ProjectFavicon.tsx | 73 ++++++++++++---------- 1 file changed, 39 insertions(+), 34 deletions(-) diff --git a/apps/web/src/components/ProjectFavicon.tsx b/apps/web/src/components/ProjectFavicon.tsx index c545fb188880c9933a288fdbf016124bbf97006b..17006889fb9c3e776168b3abd200ea089a43289b 100644 --- a/apps/web/src/components/ProjectFavicon.tsx +++ b/apps/web/src/components/ProjectFavicon.tsx @@ -112,44 +112,49 @@ function ProjectFaviconFallback({ }) { if (projectName && projectName.trim().length > 0) { const identity = deriveProjectIdentity(projectName); + // Wrapped like the emoji and Lucide branches so the monogram sits where an + // favicon would. Menu items, buttons and the like pull every bare svg + // in with [&_svg]:-mx-0.5 to trim the padding stroke icons carry, and this + // tile has no such padding. return ( - + + {identity.monogram} + + + + ); } -- 2.54.0