diff --git a/backend/templates/admin_drug_usage.html b/backend/templates/admin_drug_usage.html index 0120a19..6333110 100644 --- a/backend/templates/admin_drug_usage.html +++ b/backend/templates/admin_drug_usage.html @@ -263,6 +263,10 @@ .num-secondary { color: #3b82f6; } + .negative-stock { + color: #dc2626 !important; + font-weight: 600; + } /* ── 빈 상태 ── */ .empty-state { @@ -390,6 +394,12 @@ background: #fef3c7; color: #92400e; } + .detail-table-wrapper { + max-height: 300px; + overflow-y: auto; + border: 1px solid #e2e8f0; + border-radius: 6px; + } .detail-table { width: 100%; border-collapse: separate; @@ -398,6 +408,13 @@ min-width: 0; table-layout: fixed; } + .detail-table thead th { + position: sticky; + top: 0; + background: #f8fafc; + z-index: 1; + box-shadow: 0 1px 0 #e2e8f0; + } .detail-table td, .detail-table th { padding: 4px 8px; border-bottom: 1px solid #e0e0e0; @@ -745,7 +762,7 @@