mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-10-01 07:10:46 -05:00
Limit userstatus size
This commit is contained in:
@@ -2493,7 +2493,7 @@ function toId() {
|
||||
var offline = data.rooms === false;
|
||||
var status = offline ? '(Offline)' : '(Online)';
|
||||
if (data.status && !offline) status = data.status.startsWith('!') ? data.status.slice(1) : data.status;
|
||||
buf += '<span class="userstatus' + (offline ? ' offline' : '') + '">' + BattleLog.escapeHTML(status) + '</span><br />';
|
||||
buf += '<span class="userstatus' + (offline ? ' offline' : '') + '">' + BattleLog.escapeHTML(status) + '<br /></span>';
|
||||
buf += '<small>' + (group || ' ') + '</small>';
|
||||
if (globalgroup) buf += '<br /><small>' + globalgroup + '</small>';
|
||||
if (data.rooms) {
|
||||
|
||||
@@ -3053,6 +3053,9 @@ a.ilink.yours {
|
||||
font-style: italic;
|
||||
font-size: 8pt;
|
||||
word-wrap: break-word;
|
||||
overflow: hidden;
|
||||
max-height: 18pt;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.userdetails {
|
||||
|
||||
Reference in New Issue
Block a user