forked from M3-Academy/challenge-vtex-io
feat(product-image):product-image responsivo
This commit is contained in:
parent
3aa5f6a093
commit
6aae57088e
@ -14,6 +14,7 @@
|
|||||||
gap: 10px;
|
gap: 10px;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-bottom: 16px;
|
margin-bottom: 16px;
|
||||||
|
margin-top: 16px;
|
||||||
}
|
}
|
||||||
.html--pdp-productMain :global(.vtex-button){
|
.html--pdp-productMain :global(.vtex-button){
|
||||||
display: none;
|
display: none;
|
||||||
@ -24,7 +25,12 @@
|
|||||||
height: 49px;
|
height: 49px;
|
||||||
max-width: 77.354%;
|
max-width: 77.354%;
|
||||||
}
|
}
|
||||||
|
.html--pdp-section_descriptions{
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 32px;
|
||||||
|
padding: 0px 40px 0px 40px;
|
||||||
|
}
|
||||||
@media screen and (min-width: 1920px){
|
@media screen and (min-width: 1920px){
|
||||||
.html--buy-button :global(.vtex-button){
|
.html--buy-button :global(.vtex-button){
|
||||||
max-width: 766px;
|
max-width: 766px;
|
||||||
@ -35,14 +41,12 @@
|
|||||||
padding-left: 12.5393%;
|
padding-left: 12.5393%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
gap: 32px;
|
gap: 32px;
|
||||||
|
max-height: 100%;
|
||||||
|
}
|
||||||
|
.html--pdp-section_descriptions{
|
||||||
|
padding: 0px 12.5393% 0px 12.5393%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.html--pdp-section_descriptions{
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
gap: 32px;
|
|
||||||
padding: 0px 40px 0px 40px;
|
|
||||||
}
|
|
||||||
.html--pdp-section_descriptions :global(.vtex-flex-layout-0-x-flexRowContent){
|
.html--pdp-section_descriptions :global(.vtex-flex-layout-0-x-flexRowContent){
|
||||||
gap: 32px;
|
gap: 32px;
|
||||||
}
|
}
|
||||||
|
@ -333,6 +333,7 @@
|
|||||||
},
|
},
|
||||||
"product-images#description": {
|
"product-images#description": {
|
||||||
"props": {
|
"props": {
|
||||||
|
"blockClass": "img-description",
|
||||||
"maxHeight": 872,
|
"maxHeight": 872,
|
||||||
"testid": "product-images",
|
"testid": "product-images",
|
||||||
"aspectRatio": {
|
"aspectRatio": {
|
||||||
|
@ -182,6 +182,11 @@
|
|||||||
.flexRow--pdp-carrousel :global(.vtex-store-components-3-x-container) {
|
.flexRow--pdp-carrousel :global(.vtex-store-components-3-x-container) {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
@media screen and (min-width: 1920px) {
|
||||||
|
.flexRow--pdp-carrousel :global(.vtex-store-components-3-x-container) {
|
||||||
|
max-width: 96rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.flexRow--pdp-price .flexRowContent--pdp-price {
|
.flexRow--pdp-price .flexRowContent--pdp-price {
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
}
|
}
|
||||||
@media screen and (min-width: 1920px) {
|
@media screen and (min-width: 1920px) {
|
||||||
.productImagesContainer--carousel .carouselGaleryCursor {
|
.productImagesContainer--carousel .carouselGaleryCursor {
|
||||||
max-height: 906px;
|
max-height: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -167,6 +167,10 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.productImageTag--img-description {
|
||||||
|
max-width: 872px;
|
||||||
|
}
|
||||||
|
|
||||||
.carouselGaleryThumbs {
|
.carouselGaleryThumbs {
|
||||||
display: block;
|
display: block;
|
||||||
height: max-content;
|
height: max-content;
|
||||||
|
@ -173,6 +173,9 @@
|
|||||||
.flexRow--pdp-carrousel{
|
.flexRow--pdp-carrousel{
|
||||||
:global(.vtex-store-components-3-x-container){
|
:global(.vtex-store-components-3-x-container){
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
@media screen and (min-width: 1920px){
|
||||||
|
max-width: 96rem;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.flexRow--pdp-price{
|
.flexRow--pdp-price{
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
}
|
}
|
||||||
.carouselGaleryCursor{
|
.carouselGaleryCursor{
|
||||||
@media screen and (min-width: 1920px){
|
@media screen and (min-width: 1920px){
|
||||||
max-height: 906px;
|
max-height: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -152,6 +152,9 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.productImageTag--img-description{
|
||||||
|
max-width: 872px;
|
||||||
|
}
|
||||||
.carouselGaleryThumbs{
|
.carouselGaleryThumbs{
|
||||||
display: block;
|
display: block;
|
||||||
height: max-content;
|
height: max-content;
|
||||||
|
Loading…
Reference in New Issue
Block a user