X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/278a2c5ea53471d34f933d7c83b70f2ea09c17ad..c30f20122d1f2f0f49240aae17d1233dd745e1e5:/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; }