Skip to content

Commit 15a9dbe

Browse files
authored
Fix postcss 8 error
For some reason, postcss 8 does not allow multiplication by -1
1 parent c19ecaf commit 15a9dbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/navigation/navigation.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
top: 50%;
2323
width: calc(var(--swiper-navigation-size) / 44 * 27);
2424
height: var(--swiper-navigation-size);
25-
margin-top: calc(-1 * var(--swiper-navigation-size) / 2);
25+
margin-top: calc(0 - (var(--swiper-navigation-size) / 2));
2626
z-index: 10;
2727
cursor: pointer;
2828
display: flex;

0 commit comments

Comments
 (0)