Skip to content

Commit 2f18e00

Browse files
authored
fix postcss 8 error
For some reason, postcss 8 does not allow multiplication by -1
1 parent c19ecaf commit 2f18e00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/navigation/navigation.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
top: 50%;
1313
width: calc(var(--swiper-navigation-size) / 44 * 27);
1414
height: var(--swiper-navigation-size);
15-
margin-top: calc(-1 * var(--swiper-navigation-size) / 2);
15+
margin-top: calc(0 - (var(--swiper-navigation-size) / 2));
1616
z-index: 10;
1717
cursor: pointer;
1818
display: flex;

0 commit comments

Comments
 (0)