[openstreetmap/openstreetmap-website] Arrange base layers menu in a grid (PR #3620)

Anton Khorev notifications at github.com
Fri Sep 15 15:41:39 UTC 2023


I expected merge conflicts here and there wasn't any, but I updated this PR anyway.

> However the implementation is based on additional custom css rules

now there's only one rule. Of course the most likely scenario under which this will get accepted is some new version of Bootstrap adds an utility class that does exactly this thing. Looks like 5.3 still doesn't have it.

> including a custom grid

now it's Bootstrap's `.d-grid` (which is the same as `display: grid`)

> and specific pixel widths for gaps

not it's Bootstrap's `.gap-2` (which is the same as that specific pixel value unless the spacer gets changed; it wasn't me put that specific value in css)


-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/3620#issuecomment-1721487321
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/3620/c1721487321 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20230915/f8c18736/attachment-0001.htm>


More information about the rails-dev mailing list