From 23ac673e518241e9f4446ee49f774be9ac4c1bbc Mon Sep 17 00:00:00 2001 From: Jose Luis Date: Sat, 21 Mar 2026 03:20:27 +0100 Subject: [PATCH] fix: sidebar panels shrinking instead of scrolling Flex children with default flex-shrink:1 were compressing to fit, hiding the Mision panel content. Force flex-shrink:0 on all sidebar children so they keep their natural size and the sidebar scrolls. Co-Authored-By: Claude Opus 4.6 --- src/index.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/index.css b/src/index.css index ffd49cc..bf4a21e 100644 --- a/src/index.css +++ b/src/index.css @@ -422,6 +422,8 @@ html, body, #root { padding: 12px; display: flex; flex-direction: column; gap: 12px; min-height: 0; /* Allow flex item to shrink below content — enables scrolling */ } +/* Prevent sidebar children from shrinking — forces overflow → scroll */ +.gm-puzzle-sidebar > * { flex-shrink: 0; } .gm-puzzle-canvas-wrap { flex: 1; position: relative; overflow: hidden;