[openstreetmap-website] Header too wide on small screens, in some locales (#1014)

Tom Hughes notifications at github.com
Wed Jul 22 14:22:26 UTC 2015


The key issue here is https://github.com/openstreetmap/openstreetmap-website/blob/master/app/assets/stylesheets/common.scss#L447 which controls when we collapse things to the compact view.

It's currently set to a screen width of 960px but that value unfortunately varies by language, and could change at any time as translations are updated... Sadly you can't use `calc()` in media queries to try and dynamically calculate the right value...

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/1014#issuecomment-123739052
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20150722/0d56e7e3/attachment.html>


More information about the rails-dev mailing list