/* 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;
}