]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/common.scss
Use multiplication for secondary-actions margin and padding
[rails.git] / app / assets / stylesheets / common.scss
index 2cd357845929be2bdff8dfe9947ee3ddfb2ad992..181524a0e5c70b96d509720ea451b5c1f246083e 100644 (file)
@@ -1038,9 +1038,6 @@ tr.turn:hover {
     &:first-child {
       border-top: 1px solid $grey;
     }
-    p {
-      margin-bottom: $lineheight/2;
-    }
   }
 }
 
@@ -1142,9 +1139,9 @@ nav.secondary-actions {
       flex-basis: auto;
       list-style: none;
       border-left: 1px solid $grey;
-      padding-left: $lineheight/2;
-      margin-right: $lineheight/2;
-      margin-bottom: $lineheight/8;
+      padding-left: $lineheight * 0.5;
+      margin-right: $lineheight * 0.5;
+      margin-bottom: $lineheight * 0.125;
     }
   }
 }