Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
Fix Using / for division is deprecated warnings seen when building th…
Browse files Browse the repository at this point in the history
…e project (#5556)
  • Loading branch information
ralucaStan authored Jan 13, 2022
1 parent 7214797 commit 800d946
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 800d946

Please sign in to comment.