[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:


-- 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 --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- 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