Browse Source

Merge pull request #2012 from rtCamp/fix/css-interpolation

Varia: Fix CSS interpolation issue in password-strength-meter style
Allan Cole 5 years ago
parent
commit
5a493e3954

+ 1 - 1
varia/sass/vendors/woocommerce/elements/_password-strength-meter.scss

@@ -6,7 +6,7 @@ body[class*="woocommerce"] #page { // adding #page here to override default wc s
 	.woocommerce-password-strength {
 		text-align: center;
 		font-weight: 600;
-		padding: #{0.5 * #{map-deep-get($config-woocommerce, "table", "padding")}};
+		padding: (0.5 * map-deep-get($config-woocommerce, "table", "padding"));
 		font-size: map-deep-get($config-global, "font", "size", "sm");
 
 		&.strong {

+ 1 - 1
varia/style-woocommerce-rtl.css

@@ -401,7 +401,7 @@ body[class*="woocommerce"] #page .woocommerce-warning:before {
 body[class*="woocommerce"] #page .woocommerce-password-strength {
 	text-align: center;
 	font-weight: 600;
-	padding: 0.5 * 16px;
+	padding: 8px;
 	font-size: 0.83333rem;
 }
 

+ 1 - 1
varia/style-woocommerce.css

@@ -401,7 +401,7 @@ body[class*="woocommerce"] #page .woocommerce-warning:before {
 body[class*="woocommerce"] #page .woocommerce-password-strength {
 	text-align: center;
 	font-weight: 600;
-	padding: 0.5 * 16px;
+	padding: 8px;
 	font-size: 0.83333rem;
 }