Skip to content

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

FIX: Reactions followup (#39522)

chapoi7e604b3e8d0b
diff --git a/app/assets/stylesheets/common/modal/discourse-reactions-popup.scss b/app/assets/stylesheets/common/modal/discourse-reactions-popup.scss
index ce4d080f070..fbb33159322 100644
--- a/app/assets/stylesheets/common/modal/discourse-reactions-popup.scss
+++ b/app/assets/stylesheets/common/modal/discourse-reactions-popup.scss
@@ -39,6 +39,7 @@
position: sticky;
top: 0;
background: var(--secondary);
+ z-index: z("base");
}
&__header {
@@ -135,15 +136,10 @@
}
}
- &__avatar-link {
- flex-shrink: 0;
- display: flex;
-
- .avatar {
- @include viewport.until(sm) {
- width: 32px;
- height: 32px;
- }
+ .avatar {
+ @include viewport.until(sm) {
+ width: 32px;
+ height: 32px;
}
}
diff --git a/frontend/discourse/app/components/post/menu/post-users-menu.gjs b/frontend/discourse/app/components/post/menu/post-users-menu.gjs
index e8f044774a2..65d482fa86f 100644
--- a/frontend/discourse/app/components/post/menu/post-users-menu.gjs
+++ b/frontend/discourse/app/components/post/menu/post-users-menu.gjs
@@ -102,16 +102,11 @@ export default class PostUsersMenu extends Component {
>
{{#each this.users as |user|}}
<div class="post-users-popup__item">
- <UserLink
- @username={{user.username}}
- class="post-users-popup__avatar-link"
- >
- {{#if (has-block "avatar")}}
- {{yield user to="avatar"}}
- {{else}}
- <UserAvatar @user={{user}} @size="small" />
- {{/if}}
- </UserLink>
+ {{#if (has-block "avatar")}}
+ {{yield user to="avatar"}}
+ {{else}}
+ <UserAvatar @user={{user}} @size="small" />
+ {{/if}}
<div class="post-users-popup__user-info">
<UserLink
@username={{user.username}}