From 4fd587fe4d7b317f1f265ecf9b2adb9af9d916aa Mon Sep 17 00:00:00 2001 From: Peter Pan Date: Tue, 26 Aug 2025 21:29:36 -0400 Subject: [PATCH 1/2] fix: allow scrolling for both fieldsets on sidebar and cap it --- web/src/css/styles.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web/src/css/styles.css b/web/src/css/styles.css index 59a8b960..5f6c43b8 100644 --- a/web/src/css/styles.css +++ b/web/src/css/styles.css @@ -117,10 +117,13 @@ div.leaflet-control-layers.coordinates { } #sidebar fieldset#worlds { margin: -15px 0 0; + overflow-y: auto; /* Make the world list scrollable */ + max-height: 50%; /* Allow both lists to co-exist in harmony */ } #sidebar fieldset#players { margin: 10px 0 0; overflow-y: auto; + max-height: 50%; /* Allow both lists to co-exist in harmony */ } #sidebar fieldset#players::-webkit-scrollbar { width: 6px; From e71e110f2f73d453e685ba89ade68acb73400593 Mon Sep 17 00:00:00 2001 From: Peter Pan Date: Tue, 26 Aug 2025 22:22:28 -0400 Subject: [PATCH 2/2] chore: satisfy prettier --- web/src/css/styles.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/css/styles.css b/web/src/css/styles.css index 5f6c43b8..9c7e3263 100644 --- a/web/src/css/styles.css +++ b/web/src/css/styles.css @@ -118,12 +118,12 @@ div.leaflet-control-layers.coordinates { #sidebar fieldset#worlds { margin: -15px 0 0; overflow-y: auto; /* Make the world list scrollable */ - max-height: 50%; /* Allow both lists to co-exist in harmony */ + max-height: 50%; /* Allow both lists to co-exist in harmony */ } #sidebar fieldset#players { margin: 10px 0 0; overflow-y: auto; - max-height: 50%; /* Allow both lists to co-exist in harmony */ + max-height: 50%; /* Allow both lists to co-exist in harmony */ } #sidebar fieldset#players::-webkit-scrollbar { width: 6px;