]> git.openstreetmap.org Git - rails.git/commitdiff
Refactor remaining sass division operators to use multiplication
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 13 Sep 2023 12:26:19 +0000 (13:26 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 13 Sep 2023 12:26:19 +0000 (13:26 +0100)
app/assets/stylesheets/common.scss

index 395e449a1b92494bef856f9e0c6f8f0327a516ad..b95d1fcd60202c5072d962d0520a45ac2f3e9106 100644 (file)
@@ -23,7 +23,7 @@ small, aside {
 
 .small_icon {
   vertical-align: middle;
-  margin-right: $lineheight/4;
+  margin-right: $lineheight * 0.25;
 }
 
 [dir=rtl] { /* no-r2 */ text-align: right; }
@@ -102,7 +102,7 @@ header {
 
   > * {
     height: 100%;
-    padding: $lineheight/2;
+    padding: $lineheight * 0.5;
   }
 
   h1, nav.primary {