[openstreetmap/openstreetmap-website] Rework common details to avoid awkward line breaks (PR #3537)

Andy Allan notifications at github.com
Wed Apr 27 10:50:25 UTC 2022


Fixes #3435

Also brings the location information into the list, which avoids a
lack of padding before the next header.

Before:
![Screenshot from 2022-04-27 11-33-33](https://user-images.githubusercontent.com/360803/165502153-f6af930c-ce1a-4cb1-b0e7-51246c08ddac.png)

After:
![Screenshot from 2022-04-27 11-33-21](https://user-images.githubusercontent.com/360803/165502188-0fdffe20-9ca2-4fee-8a94-6f1dc60ec7dd.png)

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

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

-- Commit Summary --

  * Rework common details to avoid awkward line breaks

-- File Changes --

    M app/views/browse/_common_details.html.erb (41)

-- Patch Links --

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

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

Message ID: <openstreetmap/openstreetmap-website/pull/3537 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20220427/a4dad5ab/attachment.htm>


More information about the rails-dev mailing list