Style a system message. Fix up spacing in bias

This commit is contained in:
SillyLossy
2023-02-15 11:36:30 +02:00
parent 4ed158e23e
commit 7d2e4d4888
2 changed files with 12 additions and 2 deletions

View File

@@ -758,10 +758,14 @@
let curMatch;
while( curMatch = rxp.exec(message) ) {
found.push(curMatch[1]);
found.push(curMatch[1].trim());
}
return found.join(' ');
if (!found.length) {
return '';
}
return ` ${found.join(' ')} `;
}
$( "#send_but" ).click(function() {

View File

@@ -48,6 +48,12 @@ body {
font-weight: bold;
color: rgb(229, 224, 216);
}
.mes_text li tt {
min-width: 80px;
display: inline-block;
color: grey !important;
text-align: right;
}
.mes_bias {
display: block;
font-size: 0.9rem;