]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/common.scss
Specify border/spacing values in stylesheet
[rails.git] / app / assets / stylesheets / common.scss
index 1e638d47d5680888d3066574bf7ef3a2666554e2..a5afa85b1d80fb9a9051807b5e68180ca1e7d5b5 100644 (file)
@@ -376,25 +376,17 @@ body.small-nav {
     background-color: $vibrant-green;
   }
 
-  .icon {
-    margin: 10px;
-  }
-}
-
-.leaflet-control-group-end + .leaflet-control {
-  padding-top: 10px;
-}
-
-.leaflet-control:first-child,
-.leaflet-control-group-end + .leaflet-control {
-  &.control-button, .control-button:first-child {
+  &-first {
     border-start-start-radius: 4px;
   }
-}
 
-.leaflet-control-group-end {
-  &.control-button, .control-button:last-child {
+  &-last {
     border-end-start-radius: 4px;
+    margin-bottom: 10px;
+  }
+
+  .icon {
+    margin: 10px;
   }
 }