-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MentionAvatars: Also display role icons in role mentions (#2801)
Co-authored-by: Vendicated <[email protected]>
- Loading branch information
1 parent
7ec842d
commit 4b16fbc
Showing
4 changed files
with
64 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
# MentionAvatars | ||
|
||
Shows user avatars inside mentions | ||
Shows user avatars and role icons inside mentions | ||
|
||
 | ||
 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters