Merge pull request #31603 from woocommerce/fix/dep-sass-format
Use calc function to prevent deprecated warnings when building
This commit is contained in:
commit
4f482cff26
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue