[openstreetmap/openstreetmap-website] Sidebar width: 380 px <= 25vw <= 500 px (#2872)

Hidde Wieringa notifications at github.com
Thu Oct 1 19:08:22 UTC 2020


Make the sidebar width `25vw` (25% of the viewport width), with a minimum of 380 pixels and a maximum of 500 pixels.

This fixes #2530, fixes #2850.

Reference #2537, https://twitter.com/EugenesDIYDen/status/1276804381132812291

Screenshots, with screen size:

![image](https://user-images.githubusercontent.com/1073881/94852376-17d67400-042a-11eb-9f0a-2f61208f51a4.png)

![image](https://user-images.githubusercontent.com/1073881/94852451-2fadf800-042a-11eb-981c-e04372393586.png)


You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/2872

-- Commit Summary --

  * Sidebar width: 390 px <= 25vw <= 500 px

-- File Changes --

    M app/assets/stylesheets/common.scss (8)
    M app/assets/stylesheets/parameters.scss (4)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/2872.patch
https://github.com/openstreetmap/openstreetmap-website/pull/2872.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/2872
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20201001/dfaa053e/attachment-0001.htm>


More information about the rails-dev mailing list