Use calc function to prevent deprecated warnings when building

This commit is contained in:
roykho 2022-01-10 06:40:40 -08:00
parent dabd2c6bf2
commit 39a048631c
No known key found for this signature in database
GPG Key ID: 00D6C128DC6E0F71
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 {