fix: logsviewer ansi render error #52

This commit is contained in:
engigu
2026-03-12 11:47:13 +08:00
parent d79a26c7f5
commit bb001a2210
3 changed files with 25 additions and 6 deletions
+2 -2
View File
@@ -87,8 +87,8 @@ onUnmounted(() => {
</Button>
</div>
</div>
<div class="flex-1 overflow-auto bg-black/5 dark:bg-white/5">
<pre class="p-3 sm:p-4 text-xs font-mono whitespace-pre-wrap break-all" v-html="highlightedContent"></pre>
<div class="flex-1 overflow-auto bg-zinc-950">
<pre class="p-3 sm:p-4 text-xs font-mono whitespace-pre-wrap break-all text-zinc-300" v-html="highlightedContent"></pre>
</div>
</div>
</div>