Update latency-detail-modal.tsx

This commit is contained in:
MacRimi
2026-03-07 17:06:47 +01:00
parent b4c7463226
commit 34b4a6c3d8

View File

@@ -238,7 +238,7 @@ const generateLatencyReport = (report: ReportData) => {
.no-print { display: none !important; }
.page-break { page-break-before: always; }
* { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
body { font-size: 11px; }
body { font-size: 11px; padding: 0; max-width: none; }
.section { margin-bottom: 16px; }
.rpt-header-left p, .rpt-header-right { color: #374151; }
.rpt-header-right .rid { color: #4b5563; }
@@ -248,6 +248,18 @@ const generateLatencyReport = (report: ReportData) => {
.card-sub { color: #374151; }
.chk-tbl th { color: #374151; }
.rpt-footer { color: #4b5563; }
/* Reset gauge to print size - override any screen responsive styles */
.latency-gauge { width: 160px !important; max-width: 160px !important; }
.latency-gauge svg { max-width: 160px !important; }
.gauge-num { font-size: 32px !important; }
.gauge-unit { font-size: 14px !important; }
.gauge-status { font-size: 10px !important; }
.exec-box { gap: 24px !important; padding: 20px !important; }
.exec-text h3 { font-size: 16px !important; }
.exec-text p { font-size: 12px !important; }
.latency-range { gap: 24px !important; }
.range-label { font-size: 11px !important; }
.range-value { font-size: 18px !important; }
}
@media screen {
body { max-width: 1000px; margin: 0 auto; padding: 24px 32px; padding-top: 64px; }