diff --git a/packages/web-ui/src/lib/styles.css b/packages/web-ui/src/lib/styles.css index 27be52b..2629f84 100644 --- a/packages/web-ui/src/lib/styles.css +++ b/packages/web-ui/src/lib/styles.css @@ -75,11 +75,15 @@ } .sc-brand-icon { - width: 100%; - height: 100%; + /* Fixed instead of percentage-based: the icon isn't wrapped in a sized container (unlike + .sc-brand-mark, which this rule mirrors), and .sc-brand's own width is content-driven, so + a percentage here has no definite box to resolve against and lets the image render at + whatever intrinsic size its source happens to have. */ + width: 2rem; + height: 2rem; padding: 0.25rem; object-fit: contain; - border-radius: inherit; + border-radius: var(--sc-radius-md); } .sc-nav {