[openstreetmap/openstreetmap-website] Use list-inline to achieve spacing between elements on a line (#3140)

Andy Allan notifications at github.com
Wed Mar 17 19:00:56 UTC 2021


This is a better solution than spans and margins. Additionally, rework to use `mb-*` instead of `my-*` (bootstrap advises against using margin-top) and get rid of `<br>`s by using paragraphs instead.

My apologies for two PRs on the same topic in quick succession, but I discovered the `list-inline` while reviewing another PR and so I thought I should go back and improve this.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Use list-inline to achieve spacing between elements on a line

-- File Changes --

    M app/views/traces/_trace.html.erb (39)
    M test/controllers/traces_controller_test.rb (2)

-- Patch Links --

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


More information about the rails-dev mailing list