diff --git a/react/components/Html/style.css b/react/components/Html/style.css index 25dedec..94f25ed 100644 --- a/react/components/Html/style.css +++ b/react/components/Html/style.css @@ -1,7 +1,3 @@ -[class*="vtex-store-components-3-x-productImageTag--main"] { - max-height: 664px !important; -} - .html--pdp-breadcrumb { margin: 0 40px; } diff --git a/store/blocks/pdp/product.jsonc b/store/blocks/pdp/product.jsonc index c07727f..10364fc 100644 --- a/store/blocks/pdp/product.jsonc +++ b/store/blocks/pdp/product.jsonc @@ -80,7 +80,8 @@ "children": ["stack-layout"], "props": { "width": "50%", - "rowGap": 0 + "rowGap": 0, + "blockClass": "stack-layout-container" } }, "flex-layout.row#product-image": { diff --git a/styles/css/vtex.flex-layout.css b/styles/css/vtex.flex-layout.css index e9a063b..7dd4b2b 100644 --- a/styles/css/vtex.flex-layout.css +++ b/styles/css/vtex.flex-layout.css @@ -16,6 +16,9 @@ display: flex; flex-direction: column; } + .flexRowContent--product-main-stack .stretchChildrenWidth { + width: 100% !important; + } } @media screen and (max-width: 1024px) { diff --git a/styles/css/vtex.store-components.css b/styles/css/vtex.store-components.css index 2e8232b..6025a76 100644 --- a/styles/css/vtex.store-components.css +++ b/styles/css/vtex.store-components.css @@ -363,4 +363,8 @@ .productImageTag--imagem-descricao--main { max-height: 1100px !important; } +} + +.productImageTag--main { + max-height: 1000px !important; } \ No newline at end of file diff --git a/styles/sass/pages/product/vtex.flex-layout.scss b/styles/sass/pages/product/vtex.flex-layout.scss index e6c2fda..56b0a67 100644 --- a/styles/sass/pages/product/vtex.flex-layout.scss +++ b/styles/sass/pages/product/vtex.flex-layout.scss @@ -10,6 +10,10 @@ @media screen and (max-width: 1024px) { display: flex; flex-direction: column; + + .stretchChildrenWidth { + width: 100% !important; + } } } .flexRowContent--main-header-mobile { diff --git a/styles/sass/pages/product/vtex.store-components.scss b/styles/sass/pages/product/vtex.store-components.scss index 9d78fef..67e5318 100644 --- a/styles/sass/pages/product/vtex.store-components.scss +++ b/styles/sass/pages/product/vtex.store-components.scss @@ -408,3 +408,7 @@ max-height: 1100px !important; } } + +.productImageTag--main { + max-height: 1000px !important; +}