X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/278a2c5ea53471d34f933d7c83b70f2ea09c17ad..f26e417cf4d2640b93e066c9138814e24c171ee4:/app/assets/stylesheets/browse.css.scss?ds=sidebyside 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; }