X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/278a2c5ea53471d34f933d7c83b70f2ea09c17ad..580d25b971548f227bc3e39661479c20e548e0df:/app/assets/stylesheets/browse.css.scss diff --git a/app/assets/stylesheets/browse.css.scss b/app/assets/stylesheets/browse.css.scss index 59ba0be73..179f0c102 100644 --- a/app/assets/stylesheets/browse.css.scss +++ b/app/assets/stylesheets/browse.css.scss @@ -1,13 +1,17 @@ /* Make space for icons */ -a.node, a.way, a.relation { - &:first-child { - &::before { - margin-left: -25px; - } - } +li.node::before, +li.way::before, +li.relation::before, +a.node:first-child::before, +a.way:first-child::before, +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; }