File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -354,7 +354,7 @@ body,
354354/* Amenity filter panel */
355355.amenity-filter {
356356 position : absolute;
357- bottom : 8 px ;
357+ bottom : 28 px ;
358358 right : 8px ;
359359 z-index : 100 ;
360360 background : # fff ;
@@ -364,6 +364,52 @@ body,
364364 max-width : 220px ;
365365}
366366
367+ @media (max-width : 450px ) {
368+ .amenity-filter { bottom : 50px ; }
369+ }
370+
371+ /* Hide OL's default attribution control — we render our own (.map-attribution) */
372+ .map-container .ol-attribution {
373+ display : none;
374+ }
375+
376+ /* Map attribution */
377+ .map-attribution {
378+ position : absolute;
379+ bottom : 0 ;
380+ right : 0 ;
381+ z-index : 100 ;
382+ padding : 2px 6px ;
383+ background : rgba (255 , 255 , 255 , 0.85 );
384+ border-radius : 3px 0 0 0 ;
385+ font-size : 11px ;
386+ line-height : 1.4 ;
387+ color : # 333 ;
388+ max-width : calc (100% - 8px );
389+ white-space : nowrap;
390+ }
391+
392+ .map-attribution a {
393+ color : # 2563eb ;
394+ text-decoration : none;
395+ }
396+
397+ .map-attribution a : hover {
398+ text-decoration : underline;
399+ }
400+
401+ @media (max-width : 600px ) {
402+ .map-attribution {
403+ white-space : normal;
404+ text-align : right;
405+ max-width : calc (100% - 130px );
406+ }
407+ }
408+
409+ @media (max-width : 565px ) {
410+ .map-attribution .attr-long { display : none; }
411+ }
412+
367413.amenity-filter-header {
368414 padding : 8px 12px ;
369415 font-weight : 600 ;
Original file line number Diff line number Diff line change 4747 <div ref =" popupEl" >
4848 <PoiPopup :feature =" selectedFeature " @close =" closePopup " />
4949 </div >
50+
51+ <div class =" map-attribution" >
52+ © ;
53+ <a href =" https://www.openstreetmap.org/copyright" target =" _blank" rel =" noopener noreferrer" >OpenStreetMap<span class =" attr-long" > contributors</span ></a >,
54+ <a href =" https://www.openmaptiles.org/" target =" _blank" rel =" noopener noreferrer" >OpenMapTiles</a >,
55+ <a href =" https://overturemaps.org/" target =" _blank" rel =" noopener noreferrer" >Overture Maps<span class =" attr-long" > Foundation</span ></a >,
56+ <a href =" https://openpois.org/about.html" target =" _blank" rel =" noopener noreferrer" >OpenPOIs</a >
57+ </div >
5058 </div >
5159</template >
5260
You can’t perform that action at this time.
0 commit comments