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:
parent
61afd2b6ce
commit
b1bef86632
|
@ -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 {
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue