Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit 82e91a6

Browse files
Fix Log
1 parent e74f246 commit 82e91a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/components/logs/logs.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,13 +123,13 @@ import { AdminService, LogFile, LogContent } from '../../services/admin.service'
123123
</div>
124124
</div>
125125
<div style="flex: 1; min-height: 0; overflow: hidden;">
126-
<div class="bg-gray-900 rounded-xl" style="height: 100%; overflow-y: auto;">
126+
<div class="bg-gray-900 rounded-xl" style="height: 100%; overflow-y: auto; overflow-x: hidden;">
127127
<div *ngFor="let line of getFilteredLogLines(); let i = index"
128128
[class]="'flex items-start gap-3 p-2 font-mono text-sm border-b border-gray-800 hover:bg-gray-800 ' + getLogLineClass(line)">
129129
<span class="w-12 text-gray-500 text-right select-none">{{ i + 1 }}</span>
130130
<span class="w-36 text-gray-400 shrink-0">{{ extractTimestamp(line) }}</span>
131131
<span [class]="'w-16 font-bold uppercase shrink-0 ' + getLogLevelColorClass(extractLogLevel(line))">{{ extractLogLevel(line) }}</span>
132-
<span class="flex-1 text-gray-200 break-words">{{ extractMessage(line) }}</span>
132+
<span class="flex-1 text-gray-200 break-words whitespace-pre-wrap overflow-hidden">{{ extractMessage(line) }}</span>
133133
</div>
134134
</div>
135135
</div>

0 commit comments

Comments
 (0)