mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-25 06:27:03 +01:00
Hide everyone role in user card and prevent overflowing of role bubbles
This commit is contained in:
parent
cc0a0bf3bb
commit
b61d249fe6
@ -855,6 +855,7 @@ p.mentioned span.chatmessage {
|
|||||||
border: 1px solid;
|
border: 1px solid;
|
||||||
border-color: inherit;
|
border-color: inherit;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
#usercard .role .text, #usercard .role .color {
|
#usercard .role .text, #usercard .role .color {
|
||||||
|
@ -803,6 +803,9 @@
|
|||||||
$("#usercard .role .roles").empty();
|
$("#usercard .role .roles").empty();
|
||||||
for (var j = 0; j < data.roles.length; j++) {
|
for (var j = 0; j < data.roles.length; j++) {
|
||||||
var role = data.roles[j];
|
var role = data.roles[j];
|
||||||
|
if (role.id == guild_id) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
var color = null;
|
var color = null;
|
||||||
if (role.color) {
|
if (role.color) {
|
||||||
color = "#" + role.color.toString(16);
|
color = "#" + role.color.toString(16);
|
||||||
|
Loading…
Reference in New Issue
Block a user