feat(chat): improve log message display

This commit is contained in:
Shivering Ocelot committed 2026-09-04 00:34:57 -05:00
1 parent d9204d262c
commit 8e94967a9f
3 files changed
+29 -1

No files matched your search

+6 -1
View File
@@ -92,7 +92,7 @@ watch(() => [props.message.format, props.message.content], ([newFormat, newConte
</template>
<template v-if="message.type == 'log'">
<div class="sender">Log ({{message.sender}})</div>
<div class="log-sender">{{message.sender}}<span v-if="message.subkind"> [{{message.subkind}}]</span></div>
<div class="content">{{content}}</div>
</template>
@@ -155,6 +155,11 @@ watch(() => [props.message.format, props.message.content], ([newFormat, newConte
font-family: monospace;
font-size: 80%;
}
.message.log .log-sender {
font-family: monospace;
font-weight: bold;
font-size: 80%;
}
.resource {
align-self: center;