feat(description):image description responsiva

This commit is contained in:
Gustavo Rallenson Gonçalves Da Silva 2023-02-06 11:17:03 -03:00
parent f56a822713
commit 4229f86c26
3 changed files with 19 additions and 10 deletions

View File

@ -58,8 +58,23 @@
.html--pdp-productMain :global(.vtex-store-components-3-x-container){
max-width: 100%;
}
@media screen and (max-width: 320px){
.html--pdp-descriptions :global(.vtex-store-components-3-x-productImageTag){
min-width: 100% !important;
max-height: 100% !important;
}
}
@media screen and (max-width: 1024px) {
.html--pdp-descriptions :global(.vtex-store-components-3-x-productImageTag){
min-width: 296px;
}
.html--pdp-descriptions :global(.vtex-flex-layout-0-x-stretchChildrenWidth){
align-items: center;
}
.html--pdp-descriptions :global(.vtex-store-components-3-x-productImagesContainer){
width: auto;
}
.html--pdp-departamens div ul{
flex-direction: column;
justify-content: end;

View File

@ -152,10 +152,8 @@
width: 90px;
}
@media screen and (max-width: 1024px) {
.productDescriptionContainer .productImageTag {
min-width: 296px;
}
.productDescriptionContainer {
background: pink;
}
.productDescriptionContainer .productDescriptionTitle {
font-family: "Open Sans", sans-serif;

View File

@ -143,11 +143,7 @@
}
}
.productDescriptionContainer{
.productImageTag{
@media screen and (max-width: 1024px){
min-width: 296px;
}
}
background: pink;
.productDescriptionTitle{
font-family: 'Open Sans',sans-serif;
font-style: normal;