openchargemap / ocm-system

Open Charge Map is the global public registry of electric vehicle charging locations. Established 2011. Help wanted.
https://openchargemap.org
MIT License
109 stars 33 forks source link

Extremally poor utilisation of space in browser map #168

Closed baryluk closed 4 years ago

baryluk commented 4 years ago

Screenshot at 2020-10-15 20-09-47

Only 34% of available space is utilized.

I am pretty sure this can be upped to 90%, maybe 95%.

Inspecting HTML, it looks there is a hardcoded size of the iframe: style="width:100%;height:600px"

webprofusion-chrisc commented 4 years ago

Thanks, yes, of course on my 1080 high display it looks great :)

I think to do that properly we'd need to get rid of the other front page content so we can fill the remaining height?

https://map.openchargemap.io is the real map site, as you can probably tell the iframed version is kind of a second class citizen on that front page.

webprofusion-chrisc commented 4 years ago

Ok, I've removed the bottom content that nobody reads anyway and removed some of top padding and the old Add link (people should generally use the map/app to add locations now). See what you think.

baryluk commented 4 years ago

Yes, beautiful. Thank you!