Skip to content

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

Fix avatar flair styles

Maja Komel040ddec63dba
diff --git a/app/assets/stylesheets/common/base/topic-post.scss b/app/assets/stylesheets/common/base/topic-post.scss
index 9ddaf966443..5d79abd4306 100644
--- a/app/assets/stylesheets/common/base/topic-post.scss
+++ b/app/assets/stylesheets/common/base/topic-post.scss
@@ -419,7 +419,8 @@ aside.quote {
.avatar-flair-preview,
.user-card-avatar,
.topic-map .poster,
-.user-profile-avatar {
+.user-profile-avatar,
+.user-image {
.avatar-flair {
display: flex;
align-items: center;
@@ -433,7 +434,8 @@ aside.quote {
}
.topic-avatar .avatar-flair,
.avatar-flair-preview .avatar-flair,
-.collapsed-info .user-profile-avatar .avatar-flair {
+.collapsed-info .user-profile-avatar .avatar-flair,
+.user-image .avatar-flair {
background-size: 20px 20px;
width: 20px;
height: 20px;
diff --git a/app/assets/stylesheets/common/components/user-info.scss b/app/assets/stylesheets/common/components/user-info.scss
index a71e7ef1fca..fee047c4886 100644
--- a/app/assets/stylesheets/common/components/user-info.scss
+++ b/app/assets/stylesheets/common/components/user-info.scss
@@ -45,18 +45,6 @@
}
}
- .avatar-flair {
- background-repeat: no-repeat;
- background-position: center;
- position: absolute;
- bottom: -2px;
- right: -8px;
- background-size: 18px 18px;
- border-radius: 12px;
- width: 24px;
- height: 24px;
- }
-
&.small {
width: 333px;
@media screen and (max-width: $small-width) {