update swiper slides (#370)
This commit is contained in:
parent
5d874ee639
commit
65fdb36e5d
|
@ -143,7 +143,6 @@ export const ImageSwiper = (props: Props) => {
|
||||||
slides-per-view={1}
|
slides-per-view={1}
|
||||||
thumbs-swiper={'.thumbSwiper'}
|
thumbs-swiper={'.thumbSwiper'}
|
||||||
observer={true}
|
observer={true}
|
||||||
// slide-change={handleSlideChange}
|
|
||||||
space-between={isMobileView() ? 20 : 10}
|
space-between={isMobileView() ? 20 : 10}
|
||||||
>
|
>
|
||||||
<For each={props.images}>
|
<For each={props.images}>
|
||||||
|
|
|
@ -130,6 +130,7 @@
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
max-height: var(--slide-height);
|
||||||
|
|
||||||
.counter {
|
.counter {
|
||||||
@include font-size(1.2rem);
|
@include font-size(1.2rem);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user