Entrega do Desafio #3

Merged
anacarolinaduartecavalcante merged 1 commits from feature/challenge-vtex-io into develop 2023-02-03 17:56:01 +00:00
2 changed files with 14 additions and 41 deletions

View File

@ -709,17 +709,15 @@
@media (max-width: 1025px) and (min-width: 768px) { @media (max-width: 1025px) and (min-width: 768px) {
.productImagesContainer--image-description { .productImagesContainer--image-description {
width: 100%; width: 100%;
height: auto; height: 944px;
margin-left: 0; margin-left: 0;
margin-bottom: 16px; margin-bottom: 16px;
} }
} }
@media (max-width: 768px) and (min-width: 375px) { @media (max-width: 768px) and (min-width: 375px) {
.productImagesContainer--image-description { .productImagesContainer--image-description {
width: 99.67% !important; width: 100%;
min-height: 296px !important; height: auto;
object-fit: cover !important;
height: auto !important;
margin-left: 0; margin-left: 0;
margin-bottom: 16px; margin-bottom: 16px;
} }
@ -733,28 +731,16 @@
} }
} }
@media (max-width: 1025px) and (min-width: 768px) { @media (max-width: 1025px) and (min-width: 768px) {
.productImagesContainer--image-description .productImage--image-description {
height: 944px;
}
}
@media (max-width: 768px) and (min-width: 375px) {
.productImagesContainer--image-description .productImage--image-description { .productImagesContainer--image-description .productImage--image-description {
height: auto; height: auto;
} }
} }
@media (max-width: 768px) and (min-width: 377px) {
.productImagesContainer--image-description .productImage--image-description {
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 { .productImagesContainer--image-description .productImage--image-description .productImageTag--image-description--main {
height: auto !important;
object-fit: cover !important; object-fit: cover !important;
max-height: unset !important; max-height: unset !important;
} }

View File

@ -672,15 +672,13 @@
} }
@media (max-width: 1025px) and (min-width: 768px) { @media (max-width: 1025px) and (min-width: 768px) {
width: 100%; width: 100%;
height: auto; height: 944px;
margin-left: 0; margin-left: 0;
margin-bottom: 16px; margin-bottom: 16px;
} }
@media (max-width: 768px) and (min-width: 375px) { @media (max-width: 768px) and (min-width: 375px) {
width: 99.67% !important; width: 100%;
min-height: 296px !important; height: auto;
object-fit: cover !important;
height: auto !important;
margin-left: 0; margin-left: 0;
margin-bottom: 16px; margin-bottom: 16px;
} }
@ -690,25 +688,14 @@
height: 872px; height: 872px;
} }
@media (max-width: 1025px) and (min-width: 768px) { @media (max-width: 1025px) and (min-width: 768px) {
height: 944px;
}
@media (max-width: 768px) and (min-width: 375px) {
height: auto; height: auto;
} }
@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 { & .productImageTag--image-description--main {
height: auto !important;
object-fit: cover !important; object-fit: cover !important;
max-height: unset !important; max-height: unset !important;
} }
} }
} }