style: correção de medidas das imagens productImages

This commit is contained in:
Ana Carolina Duarte Cavalcante 2023-02-03 10:16:30 -03:00
parent 1696631ddd
commit 4eae32f126
2 changed files with 68 additions and 15 deletions

View File

@ -101,9 +101,23 @@
height: 944px !important;
}
}
@media (max-width: 768px) and (min-width: 375px) {
@media (max-width: 1025px) and (min-width: 768px) {
.productImagesContainer .carouselContainer .carouselGaleryCursor .productImagesGallerySwiperContainer .productImagesGallerySlide .productImage .productImageTag--main {
height: auto;
}
}
@media (max-width: 768px) and (min-width: 377px) {
.productImagesContainer .carouselContainer .carouselGaleryCursor .productImagesGallerySwiperContainer .productImagesGallerySlide .productImage .productImageTag--main {
width: 99.67% !important;
min-height: 296px !important;
object-fit: cover !important;
height: auto !important;
}
}
@media (max-width: 377px) and (min-width: 376px) {
.productImagesContainer .carouselContainer .carouselGaleryCursor .productImagesGallerySwiperContainer .productImagesGallerySlide .productImage .productImageTag--main {
width: 99.67% !important;
min-height: unset !important;
height: 296px !important;
object-fit: cover !important;
}
@ -695,15 +709,17 @@
@media (max-width: 1025px) and (min-width: 768px) {
.productImagesContainer--image-description {
width: 100%;
height: 944px;
height: auto;
margin-left: 0;
margin-bottom: 16px;
}
}
@media (max-width: 768px) and (min-width: 375px) {
.productImagesContainer--image-description {
width: 100%;
height: 296px;
width: 99.67% !important;
min-height: 296px !important;
object-fit: cover !important;
height: auto !important;
margin-left: 0;
margin-bottom: 16px;
}
@ -718,15 +734,27 @@
}
@media (max-width: 1025px) and (min-width: 768px) {
.productImagesContainer--image-description .productImage--image-description {
height: 944px;
height: auto;
}
}
@media (max-width: 768px) and (min-width: 375px) {
@media (max-width: 768px) and (min-width: 377px) {
.productImagesContainer--image-description .productImage--image-description {
height: 296px;
width: 100% !important;
min-height: 296px !important;
object-fit: cover !important;
height: auto !important;
}
}
@media (max-width: 377px) and (min-width: 376px) {
.productImagesContainer--image-description .productImage--image-description {
width: 100% !important;
min-height: unset !important;
height: 296px !important;
object-fit: cover !important;
}
}
.productImagesContainer--image-description .productImage--image-description .productImageTag--image-description--main {
height: auto !important;
object-fit: cover !important;
max-height: unset !important;
}

View File

@ -67,6 +67,7 @@
margin: 0;
height: 944px !important;
}
.productImage {
@media (max-width: 2561px) and (min-width: 1920px) {
height: 904px !important;
@ -74,6 +75,7 @@
@media (max-width: 1025px) and (min-width: 768px) {
height: 944px !important;
}
.productImageTag--main {
object-fit: unset !important;
max-height: unset !important;
@ -85,8 +87,18 @@
@media (max-width: 1025px) and (min-width: 768px) {
height: 944px !important;
}
@media (max-width: 768px) and (min-width: 375px) {
@media (max-width: 1025px) and (min-width: 768px) {
height: auto;
}
@media (max-width: 768px) and (min-width: 377px) {
width: 99.67% !important;
min-height: 296px !important;
object-fit: cover !important;
height: auto !important;
}
@media (max-width: 377px) and (min-width: 376px) {
width: 99.67% !important;
min-height: unset !important;
height: 296px !important;
object-fit: cover !important;
}
@ -660,13 +672,15 @@
}
@media (max-width: 1025px) and (min-width: 768px) {
width: 100%;
height: 944px;
height: auto;
margin-left: 0;
margin-bottom: 16px;
}
@media (max-width: 768px) and (min-width: 375px) {
width: 100%;
height: 296px;
width: 99.67% !important;
min-height: 296px !important;
object-fit: cover !important;
height: auto !important;
margin-left: 0;
margin-bottom: 16px;
}
@ -675,15 +689,26 @@
@media (max-width: 2561px) and (min-width: 1920px) {
height: 872px;
}
@media (max-width: 1025px) and (min-width: 768px) {
height: 944px;
@media (max-width: 1025px) and (min-width: 768px) {
height: auto;
}
@media (max-width: 768px) and (min-width: 375px) {
height: 296px;
@media (max-width: 768px) and (min-width: 377px) {
width: 100% !important;
min-height: 296px !important;
object-fit: cover !important;
height: auto !important;
}
@media (max-width: 377px) and (min-width: 376px) {
width: 100% !important;
min-height: unset !important;
height: 296px !important;
object-fit: cover !important;
}
& .productImageTag--image-description--main {
height: auto !important;
object-fit: cover !important;
max-height: unset !important;
}
}
}