From 558d369ba05f5822165d314c61d6c4eaff68f8f6 Mon Sep 17 00:00:00 2001 From: Thomas Hallock Date: Wed, 26 Nov 2025 21:49:37 -0600 Subject: [PATCH] feat(know-your-world): improve region size filter layout MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Arrange checkboxes in a single column on the right side of the map - Add "All" button to select all region sizes with one click - Position filter panel from top to bottom of the map 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .../components/DrillDownMapSelector.tsx | 46 +++++++++++++++++-- 1 file changed, 41 insertions(+), 5 deletions(-) diff --git a/apps/web/src/arcade-games/know-your-world/components/DrillDownMapSelector.tsx b/apps/web/src/arcade-games/know-your-world/components/DrillDownMapSelector.tsx index 13d827ad..2a2979b7 100644 --- a/apps/web/src/arcade-games/know-your-world/components/DrillDownMapSelector.tsx +++ b/apps/web/src/arcade-games/know-your-world/components/DrillDownMapSelector.tsx @@ -725,13 +725,14 @@ export function DrillDownMapSelector({ ) })()} - {/* Region Size Filters - positioned inside map, bottom right */} + {/* Region Size Filters - positioned inside map, right side as column */}
+ {/* Select All button */} + + + {/* Size checkboxes in a column */}
{ALL_REGION_SIZES.map((size) => { @@ -775,7 +811,7 @@ export function DrillDownMapSelector({ onCheckedChange={handleToggle} disabled={isOnlyOne} className={css({ - display: 'inline-flex', + display: 'flex', alignItems: 'center', gap: '1', paddingX: '2',