Skip to content

Commit

Permalink
Merge pull request #2757 from daostack/CW-images-gallery-fix
Browse files Browse the repository at this point in the history
CW-images-gallery-fix
  • Loading branch information
pvm-code authored Oct 29, 2024
2 parents 6b3cf10 + b8ba32f commit 623cbf4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@
.image-gallery-modal {
.modal__content {
padding: 0;
padding-bottom: 2rem;
.modal__header-wrapper {
.modal__header--default-padding {
margin-right: 0.5rem;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ import RightArrowIcon from "@/shared/icons/rightArrow.icon";
import { VideoEmbed } from "@/shared/ui-kit/VideoEmbed";
import "./ImageGalleryModal.scss";
import "swiper/components/pagination/pagination.min.css";
import 'swiper/swiper-bundle.min.css';


interface ImageGalleryProps {
images: string[];
Expand Down Expand Up @@ -58,6 +60,9 @@ const ImageGalleryModal: FC<ImageGalleryProps> = (props) => {
pagination
initialSlide={initialSlide}
allowTouchMove={isTabletView}
direction="horizontal"
centeredSlides
slidesPerView={1}
>
{videoSrc && (
<SwiperSlide key={videoSrc} className="slider-wrapper">
Expand Down

0 comments on commit 623cbf4

Please sign in to comment.