fix: changed producImages css
This commit is contained in:
parent
c9a06914fb
commit
3b3783d9b4
@ -15,7 +15,6 @@
|
|||||||
"postreleasy": "vtex publish --verbose"
|
"postreleasy": "vtex publish --verbose"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"agenciamagma.store-theme": "5.x",
|
|
||||||
"vtex.store": "2.x",
|
"vtex.store": "2.x",
|
||||||
"vtex.store-header": "2.x",
|
"vtex.store-header": "2.x",
|
||||||
"vtex.product-summary": "2.x",
|
"vtex.product-summary": "2.x",
|
||||||
|
3
react/components/Html/styles.css
Normal file
3
react/components/Html/styles.css
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[class*="html--pdp-breadcrumb"] {
|
||||||
|
background-color: white;
|
||||||
|
}
|
@ -91,7 +91,12 @@
|
|||||||
"desktop": "auto",
|
"desktop": "auto",
|
||||||
"phone": "16:9"
|
"phone": "16:9"
|
||||||
},
|
},
|
||||||
"displayThumbnailsArrows": true
|
"thumbnailsOrientation": "horizontal",
|
||||||
|
"thumbnailMaxHeight": 90,
|
||||||
|
"maxHeight": 664,
|
||||||
|
"showPaginationDots": false,
|
||||||
|
"showNavigationArrows": false,
|
||||||
|
"displayThumbnailsArrows": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"flex-layout.col#right-col": {
|
"flex-layout.col#right-col": {
|
||||||
@ -102,7 +107,7 @@
|
|||||||
"children": [
|
"children": [
|
||||||
"flex-layout.row#product-name",
|
"flex-layout.row#product-name",
|
||||||
"product-rating-summary",
|
"product-rating-summary",
|
||||||
"flex-layout.row#list-price-savings",
|
// "flex-layout.row#list-price-savings",
|
||||||
"flex-layout.row#selling-price",
|
"flex-layout.row#selling-price",
|
||||||
"product-installments",
|
"product-installments",
|
||||||
"product-separator",
|
"product-separator",
|
||||||
@ -113,8 +118,8 @@
|
|||||||
"product-gifts",
|
"product-gifts",
|
||||||
"flex-layout.row#buy-button",
|
"flex-layout.row#buy-button",
|
||||||
"availability-subscriber",
|
"availability-subscriber",
|
||||||
"shipping-simulator",
|
"shipping-simulator"
|
||||||
"share#default"
|
// "share#default"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -135,11 +140,18 @@
|
|||||||
"flex-layout.row#buy-button": {
|
"flex-layout.row#buy-button": {
|
||||||
"props": {
|
"props": {
|
||||||
"marginTop": 4,
|
"marginTop": 4,
|
||||||
"marginBottom": 7
|
"marginBottom": 7,
|
||||||
|
"blockClass": "add-to-cart-button-background"
|
||||||
},
|
},
|
||||||
"children": ["add-to-cart-button"]
|
"children": ["add-to-cart-button"]
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"add-to-cart-button": {
|
||||||
|
"props": {
|
||||||
|
"blockClass": "add-to-cart-button"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
"flex-layout.row#product-availability": {
|
"flex-layout.row#product-availability": {
|
||||||
"props": {
|
"props": {
|
||||||
"colGap": 7,
|
"colGap": 7,
|
||||||
|
@ -7,6 +7,29 @@
|
|||||||
*/
|
*/
|
||||||
/* Media Query M3 */
|
/* Media Query M3 */
|
||||||
/* Grid breakpoints */
|
/* Grid breakpoints */
|
||||||
.newsletter {
|
.carouselContainer {
|
||||||
background: red;
|
margin-left: 40px;
|
||||||
|
}
|
||||||
|
.carouselContainer:global(.vtex-store-components-3-x-productImagesGallerySlide) {
|
||||||
|
margin: unset;
|
||||||
|
}
|
||||||
|
|
||||||
|
.productImageTag--main {
|
||||||
|
width: unset !important;
|
||||||
|
height: 664px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.thumbImg {
|
||||||
|
border-radius: 8px;
|
||||||
|
max-width: 90px;
|
||||||
|
max-height: 90px;
|
||||||
|
}
|
||||||
|
.thumbImg--video {
|
||||||
|
width: 90px;
|
||||||
|
height: 90px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.productImagesThumb {
|
||||||
|
width: fit-content !important;
|
||||||
|
margin-right: 16px;
|
||||||
}
|
}
|
9
styles/css/vtex.styleguide.css
Normal file
9
styles/css/vtex.styleguide.css
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
/*
|
||||||
|
0 - 600PX: Phone
|
||||||
|
600 - 900px: Table portrait
|
||||||
|
900 - 1200px: Tablet landscape
|
||||||
|
[1200 - 1800] is where our nortal styles apply
|
||||||
|
1800px + : Big desktop
|
||||||
|
*/
|
||||||
|
/* Media Query M3 */
|
||||||
|
/* Grid breakpoints */
|
@ -1,3 +1,29 @@
|
|||||||
.newsletter{
|
// left side
|
||||||
background: red;
|
|
||||||
|
.carouselContainer {
|
||||||
|
margin-left: 40px;
|
||||||
|
&:global(.vtex-store-components-3-x-productImagesGallerySlide) {
|
||||||
|
margin: unset;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.productImageTag--main {
|
||||||
|
width: unset !important;
|
||||||
|
height: 664px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.thumbImg {
|
||||||
|
border-radius: 8px;
|
||||||
|
max-width: 90px;
|
||||||
|
max-height: 90px;
|
||||||
|
|
||||||
|
&--video {
|
||||||
|
width: 90px;
|
||||||
|
height: 90px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.productImagesThumb {
|
||||||
|
width: fit-content !important;
|
||||||
|
margin-right: 16px;
|
||||||
}
|
}
|
3
styles/sass/pages/product/vtex.styleguide.scss
Normal file
3
styles/sass/pages/product/vtex.styleguide.scss
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
.hideDecorators {
|
||||||
|
// background-color: red;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user