Fix Using / for division is deprecated warnings seen when building the project (https://github.com/woocommerce/woocommerce-blocks/pull/5556)

This commit is contained in:
Raluca Stan 2022-01-13 15:01:36 +01:00 committed by GitHub
parent 61afd2b6ce
commit b1bef86632
2 changed files with 4 additions and 4 deletions

View File

@ -140,7 +140,7 @@
}
.wc-block-components-review-list-item__product + .wc-block-components-review-list-item__author + .wc-block-components-review-list-item__published-date {
padding-left: $gap/2;
padding-left: $gap*0.5;
position: relative;
&::before {

View File

@ -13,10 +13,10 @@
display: flex;
font-size: 0.875em;
font-weight: 600;
height: em(20px)/0.875;
height: math.div(em(20px), 0.875);
justify-content: center;
margin-left: em(-10px)/0.875;
min-width: em(20px)/0.875;
margin-left: math.div(em(-10px), 0.875);
min-width: math.div(em(20px), 0.875);
padding: 0 em($gap-smallest);
transform: translateY(-50%);
white-space: nowrap;