Skip to content

Commit

Permalink
fix postcss 8 error
Browse files Browse the repository at this point in the history
For some reason, postcss 8 does not allow multiplication by -1
  • Loading branch information
andymark-by authored Mar 28, 2021
1 parent c19ecaf commit 2f18e00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/navigation/navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
top: 50%;
width: calc(var(--swiper-navigation-size) / 44 * 27);
height: var(--swiper-navigation-size);
margin-top: calc(-1 * var(--swiper-navigation-size) / 2);
margin-top: calc(0 - (var(--swiper-navigation-size) / 2));
z-index: 10;
cursor: pointer;
display: flex;
Expand Down

0 comments on commit 2f18e00

Please sign in to comment.