fixed avatar not rendering in server tooltip for people in vc

This commit is contained in:
coolesding 2024-03-10 13:15:18 +01:00 committed by GitHub
parent 6b858685f2
commit 8785cd9816
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,7 +1,8 @@
/*{id} is userid in data.json and {img} is the image link, usually gif*/ /*{id} is userid in data.json and {img} is the image link, usually gif*/
.userAvatar_c4f005[style*="{id}"] .userAvatar_c4f005[style*="{id}"]
,.avatar__08316[src^="https://cdn.discordapp.com/avatars/{id}"] ,.avatar__08316[src^="https://cdn.discordapp.com/avatars/{id}"]
,.avatar__991e2[src^="https://cdn.discordapp.com/avatars/{id}"] { ,.avatar__991e2[src^="https://cdn.discordapp.com/avatars/{id}"]
,.avatar__777a6[src^="https://cdn.discordapp.com/avatars/{id}"] {
content: url({img}); content: url({img});
object-fit: scale-down; object-fit: scale-down;
aspect-ratio: 1; aspect-ratio: 1;