From: Leo Koppelkamm Date: Sun, 5 May 2013 15:07:47 +0000 (+0200) Subject: Show object icons in the margin on data browers pages X-Git-Tag: live~5027 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/9b33d307c430ccc6e732fadfe0704683a0962ea6 Show object icons in the margin on data browers pages Avoids indenting the text which looks odd, especially for things which don't have an icon. --- diff --git a/app/assets/stylesheets/browse.css.scss b/app/assets/stylesheets/browse.css.scss index dd1bf30c2..14ea3b289 100644 --- a/app/assets/stylesheets/browse.css.scss +++ b/app/assets/stylesheets/browse.css.scss @@ -1,6 +1,14 @@ -.node { padding-left: 25px; } -.way { padding-left: 25px; } -.relation { padding-left: 25px; } +/* Make space for icons */ + +.node, .way, .relation { + padding-left: 25px; + + &:first-child { + margin-left: -25px; + } +} + +/* Deleted objects */ .deleted { text-decoration: line-through; }