fix(ui): prevent Avatar from shrinking in flex layouts

Signed-off-by: Johan Persson <johanopersson@gmail.com>
This commit is contained in:
Johan Persson
2026-03-25 11:41:15 +01:00
parent a9dd4fd28d
commit 5081bcc4fa
2 changed files with 8 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
---
'@backstage/ui': patch
---
Fixed `Avatar` becoming elliptical in flex layouts by preventing it from shrinking.
**Affected components:** Avatar
@@ -30,6 +30,7 @@
font-size: 1rem;
line-height: 1;
overflow: hidden;
flex-shrink: 0;
height: 2rem;
width: 2rem;
}