finalize visual message representation

This commit is contained in:
Jakob Ketterl 2020-04-20 22:07:21 +02:00
parent f474ab94d2
commit 0c12d07a26
2 changed files with 12 additions and 6 deletions

View File

@ -960,13 +960,19 @@ img.openwebrx-mirror-img
} }
#openwebrx-panel-js8-message .message { #openwebrx-panel-js8-message .message {
width: 470px; width: 465px;
max-width: 470px; max-width: 465px;
}
#openwebrx-panel-js8-message td.message {
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; display: flex;
direction: rtl; flex-direction: row-reverse;
text-align: left; }
#openwebrx-panel-js8-message .message div {
flex: 1;
} }
#openwebrx-panel-js8-message .decimal { #openwebrx-panel-js8-message .decimal {

View File

@ -21,7 +21,7 @@ Js8Thread.prototype.render = function() {
this.el.html( this.el.html(
'<td>' + this.renderTimestamp(this.getLatestTimestamp()) + '</td>' + '<td>' + this.renderTimestamp(this.getLatestTimestamp()) + '</td>' +
'<td class="decimal freq">' + Math.round(this.getAverageFrequency()) + '</td>' + '<td class="decimal freq">' + Math.round(this.getAverageFrequency()) + '</td>' +
'<td class="message">&lrm;' + this.renderMessages() + '</td>' '<td class="message"><div>' + this.renderMessages() + '</div></td>'
); );
}; };