From 9b33d307c430ccc6e732fadfe0704683a0962ea6 Mon Sep 17 00:00:00 2001 From: Leo Koppelkamm Date: Sun, 5 May 2013 17:07:47 +0200 Subject: [PATCH 1/1] 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. --- app/assets/stylesheets/browse.css.scss | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) 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; } -- 2.43.2