From df4155108f38acf882be798c404c2d5254e62de4 Mon Sep 17 00:00:00 2001 From: rouggy Date: Wed, 29 Jul 2026 11:42:42 +0200 Subject: [PATCH] fix: centre the Yaesu panel like the Icom and Flex ones MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Capping the width without mx-auto pinned the console to the left edge with an empty window beside it. It now uses the exact wrapper the other two panels use — h-full min-h-0 overflow-auto bg-background, then max-w-5xl mx-auto p-3 — rather than a second layout of my own invention. --- frontend/src/components/YaesuPanel.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/YaesuPanel.tsx b/frontend/src/components/YaesuPanel.tsx index 85211d2..6497479 100644 --- a/frontend/src/components/YaesuPanel.tsx +++ b/frontend/src/components/YaesuPanel.tsx @@ -284,8 +284,11 @@ export function YaesuPanel({ onReportRST }: { onReportRST?: (rst: string) => voi } return ( -
-
+
+ {/* Same wrapper as the Icom and Flex panels: capped width, CENTRED. Capping + it without mx-auto left the console pinned to the left edge with a + window of empty space beside it. */} +
{/* VFO + status */}