Commit 662ba31b authored by Maximiliano Mendez Villalobos's avatar Maximiliano Mendez Villalobos Committed by Alberto Siles
Browse files

Issue #3295840 by anoopsingh92, MaxMendez: Using / for division outside of...

Issue #3295840 by anoopsingh92, MaxMendez: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0
parent c8415f01
Loading
Loading
Loading
Loading
+0 −119
Changes for Deprecation_Warning_Using_for_division_outside_of_calc-3295840-2.patch: 0 added lines, 119 removed lines.
Original line number Diff line number Diff line
diff --git a/scss/components/commerce.scss b/scss/components/commerce.scss
index 0686d6b..f2e6448 100644
--- a/scss/components/commerce.scss
+++ b/scss/components/commerce.scss
@@ -59,7 +59,7 @@
   }
   .views-row {
     border-bottom: 1px solid $gray-400;
-    margin-top: $spacer / 2;
+    margin-top: calc($spacer / 2);
     display: flex;
     .views-field-title {
       width: 320px;
@@ -96,7 +96,7 @@
   color: $white;
   font-size: $font-size-xs;
   .cart-block--offcanvas-contents__links {
-    padding: $spacer/2 $spacer;
+    padding: calc($spacer / 2) $spacer;
     a {
       color: $white;
       text-decoration: none;
@@ -107,7 +107,7 @@
   }
   .btn-close {
     color: $white;
-    padding: $spacer / 4;
+    padding: calc($spacer / 4);
   }
   table {
     color: $white;
@@ -116,10 +116,10 @@
     }
     td.cart-block--offcanvas-cart-table__title,
     td.cart-block--offcanvas-cart-table__price {
-      padding: $spacer/2 $spacer/4 !important;
+      padding: calc($spacer / 2) calc($spacer / 4) !important;
     }
     td.cart-block--offcanvas-cart-table__quantity {
-      padding: $spacer/4 !important;
+      padding: calc($spacer / 4) !important;
     }
     .btn {
       color: $white;
@@ -134,7 +134,7 @@
         color: white;
         border-color: white;
         font-size: $font-size-xs;
-        margin-top: $spacer/2;
+        margin-top: calc($spacer / 2);
       }
       .btn:hover {
         background: $primary-shade;
diff --git a/scss/components/site-footer.scss b/scss/components/site-footer.scss
index 5a30a5a..f831618 100644
--- a/scss/components/site-footer.scss
+++ b/scss/components/site-footer.scss
@@ -21,10 +21,10 @@
 /* Footer Bottom Styling. */
 
 .site-footer__bottom .block {
-    margin: ($spacer / 2) 0;
+    margin: calc($spacer / 2) 0;
 }
 
 .site-footer__bottom .content {
-    padding: ($spacer / 2) 0;
+    padding: calc($spacer / 2) 0;
     margin-top: 0;
-}
\ No newline at end of file
+}
diff --git a/scss/components/tabledrag.scss b/scss/components/tabledrag.scss
index c0c88bc..36145d0 100644
--- a/scss/components/tabledrag.scss
+++ b/scss/components/tabledrag.scss
@@ -12,5 +12,5 @@ tr.drag-previous {
 }
 
 body div.tabledrag-changed-warning {
-    margin-bottom: ($spacer / 2);
-}
\ No newline at end of file
+    margin-bottom: calc($spacer / 2);
+}
diff --git a/scss/components/user.scss b/scss/components/user.scss
index 4440e0a..92d2ae5 100644
--- a/scss/components/user.scss
+++ b/scss/components/user.scss
@@ -97,11 +97,11 @@ body.path-user {
       color: $primary-shade
     }
     .field__item {
-      padding: $spacer/4 $spacer;
+      padding: calc($spacer / 4) $spacer;
       border-radius: $spacer;
       background: $gray-200;
       min-width: 250px;
-      margin: $spacer/4 0; 
+      margin: calc($spacer / 4) 0;
     }
   }
 
@@ -110,11 +110,11 @@ body.path-user {
       color: $primary-shade
     }
     .field__item {
-      padding: $spacer/4 $spacer;
+      padding: calc($spacer / 4) $spacer;
       border-radius: $spacer;
       background: $gray-200;
       width: 100%;
-      margin: $spacer/4 0; 
+      margin: calc($spacer / 4) 0;
     }
   }
-}
\ No newline at end of file
+}