diff --git a/public/index.html b/public/index.html index c05c4828c..e6a43c065 100644 --- a/public/index.html +++ b/public/index.html @@ -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() { diff --git a/public/style.css b/public/style.css index 4c8c7b38b..0674fafa8 100644 --- a/public/style.css +++ b/public/style.css @@ -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;