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

Commit c588166

Browse files
로그 스크롤 픽스 시도
1 parent 06e27f7 commit c588166

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/app/app.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ <h1 class="md-typescale-title-large text-md-sys-color-on-surface flex-1 truncate
1212
<div class="flex relative">
1313
<!-- Mobile backdrop -->
1414
<div *ngIf="sidenavOpened" class="fixed inset-0 bg-black bg-opacity-50 z-40 lg:hidden" (click)="toggleSidenav()"></div>
15-
15+
1616
<!-- Navigation Rail -->
17-
<nav [class]="sidenavOpened ? 'w-80 translate-x-0' : 'w-20 -translate-x-full lg:translate-x-0'"
17+
<nav [class]="sidenavOpened ? 'w-80 translate-x-0' : 'w-20 -translate-x-full lg:translate-x-0'"
1818
class="bg-md-sys-color-surface-container border-r border-md-sys-color-outline-variant transition-all duration-300 ease-in-out overflow-hidden min-h-full flex flex-col fixed lg:relative z-50 lg:z-auto">
1919
<!-- Collapsed state header -->
2020
<div class="p-4 flex justify-center" *ngIf="!sidenavOpened">

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ 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; overflow-x: hidden;">
126+
<div class="bg-gray-900 rounded-xl" style="height: 100%; overflow-y: scroll; 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>

0 commit comments

Comments
 (0)