Skip to content

A platform for community discussion. Free, open, simple.

FIX: use fixed dimensions for user card avatar (#21892)

Kris8e618a5484a2
diff --git a/app/assets/stylesheets/common/components/user-card.scss b/app/assets/stylesheets/common/components/user-card.scss
index c72ad5b79ce..a443e157536 100644
--- a/app/assets/stylesheets/common/components/user-card.scss
+++ b/app/assets/stylesheets/common/components/user-card.scss
@@ -150,8 +150,8 @@
max-height: var(--avatar-width);
}
.avatar {
- width: 100%;
- height: 100%;
+ width: var(--avatar-width);
+ height: var(--avatar-width);
}
.new-user a {
color: var(--primary-low-mid);