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