update swiper slides (#370)

This commit is contained in:
Ilya Y 2024-01-21 10:42:32 +03:00 committed by GitHub
parent 5d874ee639
commit 65fdb36e5d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 1 deletions

View File

@ -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}>

View File

@ -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);