From 302a3628850da9cbba794f2b746b1c2595ed0b85 Mon Sep 17 00:00:00 2001 From: James Smith Date: Thu, 19 Mar 2026 14:16:44 +0000 Subject: [PATCH] Tighten satellite polar plot sizing --- static/css/satellite_dashboard.css | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/static/css/satellite_dashboard.css b/static/css/satellite_dashboard.css index 2d6af59..d151845 100644 --- a/static/css/satellite_dashboard.css +++ b/static/css/satellite_dashboard.css @@ -294,9 +294,10 @@ body { .command-rail { display: grid; - grid-template-rows: auto auto auto minmax(220px, 1fr); + grid-template-rows: auto auto auto minmax(260px, 340px); gap: 12px; min-width: 0; + align-items: start; } .data-grid { @@ -737,13 +738,26 @@ body { /* Polar plot */ .polar-container { - min-height: 250px; + min-height: 0; + max-height: 340px; + align-self: start; +} + +.polar-container .panel-content { + display: flex; + align-items: center; + justify-content: center; + padding: 14px; + overflow: hidden; } #polarPlot { + display: block; width: 100%; height: 100%; - min-height: 220px; + max-width: 320px; + max-height: 320px; + min-height: 0; } /* Ground track map */ @@ -1543,7 +1557,7 @@ body { grid-column: 2; grid-row: 2; grid-template-columns: repeat(2, minmax(0, 1fr)); - grid-template-rows: auto auto; + grid-template-rows: auto minmax(260px, 320px); } } @@ -1575,6 +1589,10 @@ body { grid-template-rows: auto auto; } + .polar-container { + max-height: 320px; + } + .satellite-selector { grid-column: 1 / -1; }