Merge pull request #31603 from woocommerce/fix/dep-sass-format

Use calc function to prevent deprecated warnings when building
This commit is contained in:
jonathansadowski 2022-01-10 10:19:08 -06:00 committed by GitHub
commit 4f482cff26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -1498,19 +1498,19 @@ p.jetpack-terms {
background-color: #f4a224;
max-height: 3em;
max-width: 3em;
padding: ( 3.5em - 3em ) / 2;
padding: calc( ( 3.5em - 3em ) / 2 );
}
&.recommended-item-icon-automated_taxes {
background-color: #d0011b;
max-height: 1.75em;
padding: ( 3.5em - 1.75em ) / 2;
padding: calc( ( 3.5em - 1.75em ) / 2 );
}
&.recommended-item-icon-mailchimp {
background-color: #ffe01b;
height: 2em;
padding: ( 3.5em - 2em ) / 2;
padding: calc( ( 3.5em - 2em ) / 2 );
}
&.recommended-item-icon-woocommerce_services {