feat(thumnails):thumnails mobile responsivas

This commit is contained in:
Gustavo Rallenson Gonçalves Da Silva 2023-01-30 19:07:29 -03:00
parent 1531f798d1
commit 9187738596
3 changed files with 53 additions and 1 deletions

View File

@ -82,7 +82,7 @@
"props": { "props": {
"aspectRatio": { "aspectRatio": {
"desktop": "auto", "desktop": "auto",
"phone": "1:1" "phone": "auto"
}, },
"showNavigationArrows": false, "showNavigationArrows": false,
"showPaginationDots": false, "showPaginationDots": false,

View File

@ -72,10 +72,40 @@
max-height: 100% !important; max-height: 100% !important;
} }
.carouselGaleryThumbs {
display: block;
height: max-content;
}
.carouselGaleryThumbs .productImagesThumb { .carouselGaleryThumbs .productImagesThumb {
width: max-content !important;
background: white; background: white;
margin-right: 1em; margin-right: 1em;
} }
@media screen and (max-width: 64.0625em) {
.carouselGaleryThumbs .productImagesThumb {
width: 32% !important;
}
}
.carouselGaleryThumbs .productImagesThumb .figure { .carouselGaleryThumbs .productImagesThumb .figure {
width: 100%; width: 100%;
} }
.carouselGaleryThumbs .productImagesThumb .figure--video {
min-height: 90px;
}
.carouselGaleryThumbs .productImagesThumb .figure--video .thumbImg {
min-height: 5.54em;
}
@media screen and (max-width: 64.0625em) {
.carouselGaleryThumbs .productImagesThumb .figure--video .thumbImg {
width: 50px;
min-height: 4.9em;
}
}
.carouselGaleryThumbs .productImagesThumb .figure .thumbImg {
width: 90px;
}
@media screen and (max-width: 64.0625em) {
.carouselGaleryThumbs .productImagesThumb .figure .thumbImg {
width: 50px;
}
}

View File

@ -71,11 +71,33 @@
} }
} }
.carouselGaleryThumbs{ .carouselGaleryThumbs{
display: block;
height: max-content;
.productImagesThumb{ .productImagesThumb{
width: max-content !important;
background:white; background:white;
margin-right: 1em; margin-right: 1em;
@media screen and (max-width: 64.0625em){
width: 32% !important;
}
.figure{ .figure{
width: 100%; width: 100%;
&--video{
min-height: 90px;
.thumbImg{
min-height: 5.54em;
@media screen and (max-width: 64.0625em){
width: 50px;
min-height: 4.9em;
}
}
}
.thumbImg{
width: 90px;
@media screen and (max-width: 64.0625em){
width: 50px;
}
}
} }
} }
} }