From 8df56116f59f7bb94d488a78a14edf8cbd2c483b Mon Sep 17 00:00:00 2001 From: Adilson Fernando Date: Tue, 7 Feb 2023 16:18:27 -0300 Subject: [PATCH] =?UTF-8?q?hotfix:=20descri=C3=A7=C3=A3o=20do=20product=20?= =?UTF-8?q?muito=20coloda=20no=20border-bottom=20em=20mobile=20consertada?= =?UTF-8?q?=20e=20colocando=20adicionando=20a=20props=20"collapseContent:?= =?UTF-8?q?=20false"=20para=20n=C3=A3o=20aparecer=20o=20button=20de=20ver?= =?UTF-8?q?=20menos?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- store/blocks/pdp/product.jsonc | 3 ++- styles/css/vtex.store-components.css | 13 +++++++++++++ .../sass/pages/product/vtex.store-components.scss | 12 ++++++++++++ 3 files changed, 27 insertions(+), 1 deletion(-) diff --git a/store/blocks/pdp/product.jsonc b/store/blocks/pdp/product.jsonc index e293f61..2ec6305 100644 --- a/store/blocks/pdp/product.jsonc +++ b/store/blocks/pdp/product.jsonc @@ -438,7 +438,8 @@ }, "product-description": { "props": { - "blockClass": "description" + "blockClass": "description", + "collapseContent": false } }, "rich-text#titleSlick": { diff --git a/styles/css/vtex.store-components.css b/styles/css/vtex.store-components.css index 07ea823..20fd955 100644 --- a/styles/css/vtex.store-components.css +++ b/styles/css/vtex.store-components.css @@ -515,11 +515,17 @@ margin-right: 0; margin-bottom: 0; } +.subscriberContainer .form .content .inputName :global(.vtex-input-prefix__group) { + border-radius: 0; +} .subscriberContainer .form .content .inputEmail { grid-area: email; margin-right: 0; margin-bottom: 0; } +.subscriberContainer .form .content .inputEmail :global(.vtex-input-prefix__group) { + border-radius: 0; +} .subscriberContainer .form .content .submit { grid-area: submit; } @@ -527,6 +533,7 @@ width: 100%; height: 49px; border: 0; + border-radius: 0; background-color: #000000; } .subscriberContainer .form .content .submit :global(.vtex-button__label) { @@ -541,4 +548,10 @@ line-height: 25px; text-transform: uppercase; color: #ffffff; +} + +@media (max-width: 1024px) { + .productDescriptionText--description { + padding-bottom: 16px; + } } \ No newline at end of file diff --git a/styles/sass/pages/product/vtex.store-components.scss b/styles/sass/pages/product/vtex.store-components.scss index 907c0fa..94f86b5 100644 --- a/styles/sass/pages/product/vtex.store-components.scss +++ b/styles/sass/pages/product/vtex.store-components.scss @@ -502,11 +502,17 @@ grid-area: name; margin-right: 0; margin-bottom: 0; + :global(.vtex-input-prefix__group){ + border-radius: 0; + } } .inputEmail { grid-area: email; margin-right: 0; margin-bottom: 0; + :global(.vtex-input-prefix__group){ + border-radius: 0; + } } .submit { grid-area: submit; @@ -514,6 +520,7 @@ width: 100%; height: 49px; border: 0; + border-radius: 0; background-color: #000000; } :global(.vtex-button__label) { @@ -533,3 +540,8 @@ } } } +.productDescriptionText--description{ + @media (max-width: 1024px) { + padding-bottom: 16px; + } +}