From bc419558d48792490e98f86ff1d9bbc467a5984a Mon Sep 17 00:00:00 2001 From: anlyyao Date: Fri, 4 Aug 2023 11:04:26 +0800 Subject: [PATCH] fix(Swiper): resolved loading style --- src/swiper/_example/vertical/index.wxss | 10 +--------- src/swiper/swiper.less | 1 - 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/src/swiper/_example/vertical/index.wxss b/src/swiper/_example/vertical/index.wxss index 9685e784a..cf9b7c2ed 100644 --- a/src/swiper/_example/vertical/index.wxss +++ b/src/swiper/_example/vertical/index.wxss @@ -33,20 +33,12 @@ margin-right: 20rpx; } -.cell .option { - display: flex; - flex-direction: row; - justify-content: start; - align-items: center; -} - .cell .option-desc { width: 68rpx; - padding-left: 32rpx; } .cell .swiper-slider { - flex: 1; + margin: 32rpx 0; } .swiper-box-vertical .item { diff --git a/src/swiper/swiper.less b/src/swiper/swiper.less index afbeb9f3e..9b28f0c28 100644 --- a/src/swiper/swiper.less +++ b/src/swiper/swiper.less @@ -24,7 +24,6 @@ transition: all 0.3s ease; &-host { - display: block; width: 100%; } }