[openstreetmap/openstreetmap-website] Replace custom grid CSS with bootstrap grid (#2498)

Andy Allan notifications at github.com
Wed Jan 8 17:03:43 UTC 2020


This refactors various pages in order to remove our custom layout grid, and to use the bootstrap grid instead. Since the bootstrap grid is responsive, it means that some pages (e.g. the fixthemap page) now look much better on small screens.

I changed very little on the /user/new page, but adding a wrapper div caused the diff to blow up. 

The commit messages contain further details on each change.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Refactor the fixthemap page to use the bootstrap responsive grid
  * Refactor the welcome page to use the bootstrap grid and alert box
  * Remove the custom layout css from the terms page
  * Use bootstrap grid for signup page
  * Remove the custom basic grid css rules

-- File Changes --

    M app/assets/stylesheets/_bootstrap-custom.scss (2)
    M app/assets/stylesheets/common.scss (48)
    M app/assets/stylesheets/small.scss (13)
    M app/views/site/fixthemap.html.erb (33)
    M app/views/site/welcome.html.erb (28)
    M app/views/users/new.html.erb (132)
    M app/views/users/terms.html.erb (16)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/2498.patch
https://github.com/openstreetmap/openstreetmap-website/pull/2498.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/2498
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20200108/5b4a1a73/attachment-0001.htm>


More information about the rails-dev mailing list