From e1ddec55162bf93711b18cd302c5d79716f357d6 Mon Sep 17 00:00:00 2001 From: Kalle <38327916+Sendouc@users.noreply.github.com> Date: Sun, 12 Apr 2026 17:03:58 +0300 Subject: [PATCH] Fix squished breadcrumbs logo on Firefox Closes #2970 --- app/components/layout/index.module.css | 11 ++++++++-- app/components/layout/index.tsx | 30 +++++++++++++++++--------- 2 files changed, 29 insertions(+), 12 deletions(-) diff --git a/app/components/layout/index.module.css b/app/components/layout/index.module.css index bc907cdcc..bc0132551 100644 --- a/app/components/layout/index.module.css +++ b/app/components/layout/index.module.css @@ -86,11 +86,18 @@ } } +.pageIconWrapper { + display: flex; + align-items: center; + flex-shrink: 0; + width: 28px; + height: 28px; + animation: fadeInFull 200ms ease-out 150ms both; +} + .pageIcon { width: 28px; height: 28px; - flex-shrink: 0; - animation: fadeInFull 200ms ease-out 150ms both; object-fit: cover; } diff --git a/app/components/layout/index.tsx b/app/components/layout/index.tsx index 134c5893e..b2067ed33 100644 --- a/app/components/layout/index.tsx +++ b/app/components/layout/index.tsx @@ -544,16 +544,26 @@ function PageIcon({ crumb }: { crumb: Breadcrumb }) { const isExternal = crumb.imgPath.includes("."); const iconClass = clsx(styles.pageIcon, "rounded"); - return isExternal ? ( - - ) : ( - + return ( +
+ {isExternal ? ( + + ) : ( + + )} +
); }