[openstreetmap/openstreetmap-website] Use a list group for search results (#2509)
Andy Allan
notifications at github.com
Thu Jan 16 10:22:14 UTC 2020
As requested in #2497 , this PR changes the search results to use list-groups, which sorts out the extra margins on that page. I also spotted some fallback text in the query tool that needed the new list item classes, so I've added them too.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/2509
-- Commit Summary --
* Add query-result classes for errors and nothing_found messages
* Move the search results to use list-group-flush
-- File Changes --
M app/assets/javascripts/index/query.js (3)
M app/assets/javascripts/index/search.js (6)
M app/assets/stylesheets/common.scss (7)
M app/views/geocoder/results.html.erb (10)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/2509.patch
https://github.com/openstreetmap/openstreetmap-website/pull/2509.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/2509
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20200116/178e7469/attachment.htm>
More information about the rails-dev
mailing list