@@ -22,10 +22,10 @@ import { AdminService, SystemStatus, UserStats } from '../../services/admin.serv
2222 MatChipsModule
2323 ] ,
2424 template : `
25- <div class="dashboard-container p-6 bg-md-sys-color-surface min-h-screen ">
25+ <div class="dashboard-container p-6 bg-md-sys-color-surface h-full overflow-y-auto ">
2626 <h1 class="md-typescale-headline-large text-md-sys-color-on-surface mb-6">관리자 대시보드</h1>
27-
28- <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
27+
28+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 pb-6 ">
2929 <!-- 시스템 상태 카드 -->
3030 <div class="md-card bg-md-sys-color-surface-container text-md-sys-color-on-surface hover:shadow-elevation-3 transition-all duration-300">
3131 <div class="flex items-center gap-3 mb-4">
@@ -52,7 +52,7 @@ import { AdminService, SystemStatus, UserStats } from '../../services/admin.serv
5252 </div>
5353 <div class="flex justify-between items-center py-2">
5454 <span class="md-typescale-body-medium font-medium text-md-sys-color-on-surface-variant">환경:</span>
55- <span class="px-3 py-1 rounded-full text-sm"
55+ <span class="px-3 py-1 rounded-full text-sm"
5656 [class]="systemStatus.environment === 'production' ? 'bg-md-sys-color-error-container text-md-sys-color-on-error-container' : 'bg-md-sys-color-primary-container text-md-sys-color-on-primary-container'">
5757 {{ systemStatus.environment }}
5858 </span>
@@ -63,7 +63,7 @@ import { AdminService, SystemStatus, UserStats } from '../../services/admin.serv
6363 <span class="md-typescale-body-small text-md-sys-color-on-surface-variant">{{ getMemoryUsagePercent().toFixed(1) }}%</span>
6464 </div>
6565 <div class="w-full bg-md-sys-color-surface-container-high rounded-full h-2">
66- <div class="bg-md-sys-color-primary h-2 rounded-full transition-all duration-300"
66+ <div class="bg-md-sys-color-primary h-2 rounded-full transition-all duration-300"
6767 [style.width.%]="getMemoryUsagePercent()"></div>
6868 </div>
6969 </div>
@@ -98,7 +98,7 @@ import { AdminService, SystemStatus, UserStats } from '../../services/admin.serv
9898 <div class="space-y-3">
9999 <h4 class="md-typescale-title-small text-md-sys-color-on-surface-variant mb-3">최근 가입자</h4>
100100 <div class="space-y-2">
101- <div *ngFor="let user of userStats.recentUsers.slice(0, 5)"
101+ <div *ngFor="let user of userStats.recentUsers.slice(0, 5)"
102102 class="flex justify-between items-center py-2 px-3 bg-md-sys-color-surface-container-high rounded-lg">
103103 <span class="md-typescale-body-medium font-medium text-md-sys-color-on-surface">{{ user.email }}</span>
104104 <span class="md-typescale-body-small text-md-sys-color-on-surface-variant">{{ formatDate(user.created_at) }}</span>
@@ -150,24 +150,24 @@ import { AdminService, SystemStatus, UserStats } from '../../services/admin.serv
150150 from { transform: rotate(0deg); }
151151 to { transform: rotate(360deg); }
152152 }
153-
153+
154154 .animate-spin {
155155 animation: spin 1s linear infinite;
156156 }
157-
157+
158158 .md-card {
159159 min-height: 300px;
160160 display: flex;
161161 flex-direction: column;
162162 }
163-
163+
164164 .md-button {
165165 border: none;
166166 cursor: pointer;
167167 text-decoration: none;
168168 transition: all 0.2s ease;
169169 }
170-
170+
171171 .md-button:hover {
172172 transform: translateY(-1px);
173173 }
@@ -252,4 +252,4 @@ export class DashboardComponent implements OnInit {
252252 this . userStats = null ;
253253 this . loadData ( ) ;
254254 }
255- }
255+ }
0 commit comments