@@ -27,12 +27,12 @@ import { AdminService, LogFile, LogContent } from '../../services/admin.service'
2727 FormsModule
2828 ] ,
2929 template : `
30- <div class="p-4 md:p-6 bg-md-sys-color-surface h-screen overflow-hidden ">
30+ <div class="p-4 md:p-6 bg-md-sys-color-surface min- h-screen">
3131 <h1 class="md-typescale-headline-large text-md-sys-color-on-surface mb-4 md:mb-6">로그 관리</h1>
3232
33- <div class="flex flex-col lg:grid lg:grid-cols-3 gap-4 md:gap-6" style="height: calc(100vh - 120px );">
33+ <div class="flex flex-col lg:grid lg:grid-cols-3 gap-4 md:gap-6" style="min- height: calc(100vh - 200px );">
3434 <!-- 로그 파일 목록 -->
35- <div class="md-card bg-md-sys-color-surface-container text-md-sys-color-on-surface lg:col-span-1 h-64 lg:h-auto " style="max -height: 100% ; display: flex; flex-direction: column; overflow: hidden ;">
35+ <div class="md-card bg-md-sys-color-surface-container text-md-sys-color-on-surface lg:col-span-1" style="min -height: 400px ; display: flex; flex-direction: column;">
3636 <div class="flex items-center justify-between mb-4">
3737 <h2 class="md-typescale-title-large text-md-sys-color-on-surface">로그 파일 목록</h2>
3838 <button class="md-button md-button-text p-3 rounded-full touch-target" (click)="refreshLogFiles()">
@@ -68,7 +68,7 @@ import { AdminService, LogFile, LogContent } from '../../services/admin.service'
6868 </div>
6969
7070 <!-- 로그 내용 뷰어 -->
71- <div class="md-card bg-md-sys-color-surface-container text-md-sys-color-on-surface lg:col-span-2 flex-1 " style="max -height: 100% ; display: flex; flex-direction: column; overflow: hidden ;">
71+ <div class="md-card bg-md-sys-color-surface-container text-md-sys-color-on-surface lg:col-span-2" style="min -height: 400px ; display: flex; flex-direction: column;">
7272 <div class="flex flex-col sm:flex-row sm:items-center sm:justify-between mb-4 gap-2">
7373 <h2 class="md-typescale-title-large text-md-sys-color-on-surface truncate">
7474 {{ selectedFile ? selectedFile.name : '로그 뷰어' }}
@@ -84,7 +84,7 @@ import { AdminService, LogFile, LogContent } from '../../services/admin.service'
8484 </button>
8585 </div>
8686 </div>
87- <div class="flex-1" style="min-height: 0; overflow: hidden ;">
87+ <div class="flex-1" style="min-height: 300px ;">
8888 <div *ngIf="!selectedFile" class="flex items-center justify-center h-full text-md-sys-color-on-surface-variant">
8989 <div class="text-center">
9090 <mat-icon class="w-16 h-16 mb-4 text-md-sys-color-outline">visibility</mat-icon>
@@ -144,8 +144,19 @@ import { AdminService, LogFile, LogContent } from '../../services/admin.service'
144144 padding: 24px;
145145 display: flex;
146146 flex-direction: column;
147- height: 100%;
148- min-height: 0;
147+ min-height: 400px;
148+ }
149+
150+ @media (max-width: 1023px) {
151+ .flex.flex-col.lg\\:grid {
152+ display: flex !important;
153+ flex-direction: column !important;
154+ }
155+
156+ .md-card {
157+ min-height: 300px;
158+ margin-bottom: 1rem;
159+ }
149160 }
150161
151162
0 commit comments