forked from M3-Academy/challenge-vtex-io
feat(description):image description responsiva
This commit is contained in:
parent
f56a822713
commit
4229f86c26
@ -58,8 +58,23 @@
|
|||||||
.html--pdp-productMain :global(.vtex-store-components-3-x-container){
|
.html--pdp-productMain :global(.vtex-store-components-3-x-container){
|
||||||
max-width: 100%;
|
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) {
|
@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{
|
.html--pdp-departamens div ul{
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: end;
|
justify-content: end;
|
||||||
|
@ -152,10 +152,8 @@
|
|||||||
width: 90px;
|
width: 90px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 1024px) {
|
.productDescriptionContainer {
|
||||||
.productDescriptionContainer .productImageTag {
|
background: pink;
|
||||||
min-width: 296px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.productDescriptionContainer .productDescriptionTitle {
|
.productDescriptionContainer .productDescriptionTitle {
|
||||||
font-family: "Open Sans", sans-serif;
|
font-family: "Open Sans", sans-serif;
|
||||||
|
@ -143,11 +143,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.productDescriptionContainer{
|
.productDescriptionContainer{
|
||||||
.productImageTag{
|
background: pink;
|
||||||
@media screen and (max-width: 1024px){
|
|
||||||
min-width: 296px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.productDescriptionTitle{
|
.productDescriptionTitle{
|
||||||
font-family: 'Open Sans',sans-serif;
|
font-family: 'Open Sans',sans-serif;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
|
Loading…
Reference in New Issue
Block a user