Skip to content

Commit a2525e1

Browse files
committed
Fix Leaflet attribution visibility on desktop
- Position Leaflet bottom-right controls (attribution) away from filter menu - Set right: 310px on desktop (300px sidebar + 10px spacing) - Set right: 360px on extra large screens (350px sidebar + 10px spacing) - Ensures "OpenStreetMap contributors" text is fully visible
1 parent 58e64ce commit a2525e1

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

css/catchment.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,11 @@ body {
187187
margin-right: 0;
188188
}
189189

190+
/* Ensure Leaflet attribution is not hidden by filter menu */
191+
.leaflet-bottom.leaflet-right {
192+
right: 310px;
193+
}
194+
190195
.offcanvas-end {
191196
visibility: visible !important;
192197
transform: none !important;
@@ -219,6 +224,11 @@ body {
219224
margin-right: 350px;
220225
}
221226

227+
/* Ensure Leaflet attribution is not hidden by wider filter menu */
228+
.leaflet-bottom.leaflet-right {
229+
right: 360px;
230+
}
231+
222232
.offcanvas-end {
223233
width: 350px;
224234
}

0 commit comments

Comments
 (0)