[openstreetmap-website] Node/way indent looks weird if there are no icons. (#254)

Leo Koppelkamm notifications at github.com
Sun May 5 15:13:17 UTC 2013


In the /browse view the list of nodes is indented to make room for the little icons. (see here for example: http://www.openstreetmap.org/browse/changeset/15983205 )

It does look weird though if there are no icons in the list, see this for example:
http://www.openstreetmap.org/browse/way/157971499

This patch moves the icons 25px to the left, so that the text is aligned in all rows

![screen shot 2013-05-05 at 17 12 47](https://f.cloud.github.com/assets/183302/463735/47a06f6e-b596-11e2-9d13-9ff27892a443.png)


You can merge this Pull Request by running:

  git pull https://github.com/DieBuche/openstreetmap-website indentation

Or you can view, comment on it, or merge it online at:

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

-- Commit Summary --

  * New note markers
  * Fix indent of nodes

-- File Changes --

    A app/assets/images/NoteMarker.svg (117)
    M app/assets/images/closed_note_marker.png (0)
    A app/assets/images/closed_note_marker at 2x.png (0)
    M app/assets/images/new_note_marker.png (0)
    A app/assets/images/new_note_marker at 2x.png (0)
    M app/assets/images/open_note_marker.png (0)
    A app/assets/images/open_note_marker at 2x.png (0)
    M app/assets/stylesheets/browse.css.scss (8)

-- Patch Links --

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20130505/ff7e8df0/attachment-0001.html>


More information about the rails-dev mailing list