diff --git a/src/components/navigation/navigation.less b/src/components/navigation/navigation.less index 181ad81cf..a2e72262b 100644 --- a/src/components/navigation/navigation.less +++ b/src/components/navigation/navigation.less @@ -22,7 +22,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; diff --git a/src/components/navigation/navigation.scss b/src/components/navigation/navigation.scss index a40f8684f..c88a9bb73 100644 --- a/src/components/navigation/navigation.scss +++ b/src/components/navigation/navigation.scss @@ -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;