[feature] improved style

This commit is contained in:
zhangtianli2006 2021-03-26 20:32:03 +08:00
parent 914250526f
commit 9cb2e22b84
2 changed files with 2 additions and 1 deletions

View File

@ -48,8 +48,8 @@ function write_message(data) {
<div class="msg"> <div class="msg">
<span class="msg-from ${message_class} ${(data.is_private ? 'msg-private' : '')}"> <span class="msg-from ${message_class} ${(data.is_private ? 'msg-private' : '')}">
${message_source} ${message_source}
<span class="msg-time">${format_time(new Date())}</span>
</span> </span>
<span class="msg-time">${format_time(new Date())}</span>
<br> <br>
<span class="msg-content"> <span class="msg-content">
${rendered_message} ${rendered_message}

View File

@ -137,6 +137,7 @@ pre {
} }
.msg-time { .msg-time {
font-size: 15px;
font-weight: 400; font-weight: 400;
color: var(--grey-40); color: var(--grey-40);
} }