From d2dbb1d8e6d4417494b374e6418cd5a2d1d7da42 Mon Sep 17 00:00:00 2001 From: you Date: Sat, 21 Mar 2026 08:24:36 +0000 Subject: [PATCH] fix: region dropdown matches btn-icon style, says 'All Regions' - border-radius 6px (rectangle) instead of 16px (pill) - Same padding/font-size as btn-icon - Removed redundant 'Region:' label from dropdown mode - Default label: 'All Regions' instead of 'All' --- public/index.html | 4 ++-- public/region-filter.js | 7 +++---- public/style.css | 6 +++--- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/public/index.html b/public/index.html index 27674a5a..23ba6603 100644 --- a/public/index.html +++ b/public/index.html @@ -22,7 +22,7 @@ - + - + diff --git a/public/region-filter.js b/public/region-filter.js index c072240c..40eb75fe 100644 --- a/public/region-filter.js +++ b/public/region-filter.js @@ -87,11 +87,11 @@ /** Build summary label for dropdown trigger */ function dropdownLabel(codes) { - if (!_selected) return 'All'; + if (!_selected) return 'All Regions'; var sel = Array.from(_selected); - if (sel.length === 0) return 'All'; + if (sel.length === 0) return 'All Regions'; if (sel.length <= 2) return sel.map(function (c) { return _regions[c] || c; }).join(', '); - return sel.length + ' selected'; + return sel.length + ' Regions'; } /** Render pill bar mode (≤4 regions) */ @@ -121,7 +121,6 @@ function renderDropdown(container, codes) { var allSelected = !_selected; var html = '
'; - html += 'Region:'; html += ''; html += '