From 34b4a6c3d8e0b63c57262ed3d9be4389a1a37067 Mon Sep 17 00:00:00 2001 From: MacRimi Date: Sat, 7 Mar 2026 17:06:47 +0100 Subject: [PATCH] Update latency-detail-modal.tsx --- AppImage/components/latency-detail-modal.tsx | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/AppImage/components/latency-detail-modal.tsx b/AppImage/components/latency-detail-modal.tsx index 6c519a59..bc8d8c5c 100644 --- a/AppImage/components/latency-detail-modal.tsx +++ b/AppImage/components/latency-detail-modal.tsx @@ -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; }