From 16332e6756d8cc91eab406c4d2d3cfb3cb356d37 Mon Sep 17 00:00:00 2001 From: Carlos Lins Date: Sat, 4 Feb 2023 14:37:40 -0300 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20adi=C3=A7=C3=A3o=20dos=20testId=201?= =?UTF-8?q?3=20e=2015?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- store/blocks/pdp/product.jsonc | 12 ++++++++++-- styles/css/vtex.store-components.css | 9 +++++---- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/store/blocks/pdp/product.jsonc b/store/blocks/pdp/product.jsonc index 42fd945..867ce32 100644 --- a/store/blocks/pdp/product.jsonc +++ b/store/blocks/pdp/product.jsonc @@ -23,7 +23,8 @@ "html#DescriptionSectionPDP":{ "props": { - "tag": "section" + "tag": "section", + "testId": "tab-layout" }, "children": [ "tab-layout#pdp" @@ -333,10 +334,17 @@ "html#sku-selector", "flex-layout.row#quantity-and-buy-button", "availability-subscriber", - "shipping-simulator" + "html#shipping-simulator" ] }, + "html#shipping-simulator": { + "props": { + "testId": "shipping-simulator" + }, + "children": ["shipping-simulator"] + }, + "product-installments#m3": { "props": { "markers": ["discount"], diff --git a/styles/css/vtex.store-components.css b/styles/css/vtex.store-components.css index b947f77..a0db45b 100644 --- a/styles/css/vtex.store-components.css +++ b/styles/css/vtex.store-components.css @@ -8,6 +8,11 @@ */ /* Media Query M3 */ /* Grid breakpoints */ +.flexRowContent--newsletter-footer .newsletter { + height: 175px; + background-color: #000000; +} + .searchBarContainer { padding: 0; align-self: center; @@ -430,8 +435,4 @@ .shippingTable .shippingTableBody .shippingTableRow { align-items: center; } -} -.flexRowContent--newsletter-footer .newsletter { - height: 175px; - background-color: #000000; } \ No newline at end of file -- 2.34.1 From 4e0f3e93262bf137e3b44b35f4a4f4b13dbd5cd8 Mon Sep 17 00:00:00 2001 From: Carlos Lins Date: Sat, 4 Feb 2023 14:42:29 -0300 Subject: [PATCH 2/2] fix: Corrigindo border-radius thumbnails images product --- styles/css/vtex.store-components.css | 3 +++ styles/sass/pages/product/vtex.store-components.scss | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/styles/css/vtex.store-components.css b/styles/css/vtex.store-components.css index a0db45b..a22a466 100644 --- a/styles/css/vtex.store-components.css +++ b/styles/css/vtex.store-components.css @@ -58,6 +58,9 @@ display: flex; height: 100%; } +.figure--product-images-pdp .thumbImg--product-images-pdp { + border-radius: 8px; +} .productImage .productImageTag--main { object-fit: fill !important; diff --git a/styles/sass/pages/product/vtex.store-components.scss b/styles/sass/pages/product/vtex.store-components.scss index ad47898..6f5cb26 100644 --- a/styles/sass/pages/product/vtex.store-components.scss +++ b/styles/sass/pages/product/vtex.store-components.scss @@ -5,6 +5,10 @@ .figure--product-images-pdp{ display: flex; height: 100%; + + .thumbImg--product-images-pdp{ + border-radius: 8px; + } } .productImage{ -- 2.34.1