X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/278a2c5ea53471d34f933d7c83b70f2ea09c17ad..bc67479bccbd09b6f6279224e549d5142fc800a0:/app/assets/stylesheets/browse.css.scss diff --git a/app/assets/stylesheets/browse.css.scss b/app/assets/stylesheets/browse.css.scss index 59ba0be73..0aa762a12 100644 --- a/app/assets/stylesheets/browse.css.scss +++ b/app/assets/stylesheets/browse.css.scss @@ -1,15 +1,15 @@ /* Make space for icons */ -a.node, a.way, a.relation { - &:first-child { - &::before { - margin-left: -25px; - } - } -} -a.node::before, a.way::before, a.relation::before { +.node::before, +.way::before, +.relation::before { display: inline-block; width: 25px; + margin-left: -25px; +} + +.node, .way, .relation { + margin-left: 25px; } /* Deleted objects */