MentionAvatars: Also display role icons in role mentions (#2801)

Co-authored-by: Vendicated <vendicated@riseup.net>
This commit is contained in:
SerStars 2024-08-26 12:27:00 +02:00 committed by GitHub
parent 7ec842d4b0
commit 4b16fbcaa9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 64 additions and 9 deletions

View file

@ -1,8 +1,11 @@
.vc-mentionAvatars-avatar {
.vc-mentionAvatars-icon {
vertical-align: middle;
width: 1em !important; /* insane discord sets width: 100% in channel topic */
height: 1em;
margin: 0 4px 0.2rem 2px;
border-radius: 50%;
box-sizing: border-box;
}
.vc-mentionAvatars-role-icon {
margin: 0 2px 0.2rem 4px;
}