Merge pull request 'feat: adiciona espaçamento lateral descrição produto' (#13) from feature/adiciona-espacamento-lateral-descrição-produto into development

Reviewed-on: #13
This commit is contained in:
Rafael Sampaio de Oliveira 2023-01-30 12:36:41 +00:00
commit 12e33f81fb
6 changed files with 19 additions and 7 deletions

View File

@ -20,3 +20,7 @@
[class*="html--descriptionText"] { [class*="html--descriptionText"] {
width: 50%; width: 50%;
} }
[class*="html--productDescription"] {
padding: 0 40px;
}

View File

@ -3,11 +3,13 @@ import { useProduct } from "vtex.product-context";
import styles from "./styles.module.css"; import styles from "./styles.module.css";
const PixPrice = () => { const PixPrice = () => {
// const inputCep = document.querySelectorAll(".vtex-address-form-4-x-input"); // useEffect(() => {
// const inputCep = document.querySelectorAll(".vtex-address-form-4-x-input");
// console.log(inputCep); // // inputCep.setAttribute('placeholder', 'Digite seu CEP');
// .placeholder = "Type name here.."; // console.log(inputCep);
// });
const productContextValue = useProduct(); const productContextValue = useProduct();

View File

@ -1,5 +1,11 @@
{ {
"tab-layout#productPage": { "html#productDescription": {
"props": {
"blockClass": "productDescription"
},
"children": ["tab-layout#productDescription"]
},
"tab-layout#productDescription": {
"children": ["tab-list#description", "tab-content#description"], "children": ["tab-list#description", "tab-content#description"],
"props": { "props": {
"blockClass": "description", "blockClass": "description",

View File

@ -4,7 +4,7 @@
"html#breadcrumb", "html#breadcrumb",
"flex-layout.row#product-container", "flex-layout.row#product-container",
// "flex-layout.row#description", // "flex-layout.row#description",
"tab-layout#productPage", "html#productDescription",
// "flex-layout.row#specifications-title", // "flex-layout.row#specifications-title",
// "product-specification-group#table", // "product-specification-group#table",
"shelf.relatedProducts", "shelf.relatedProducts",

View File

@ -31,7 +31,7 @@
content: "Home"; content: "Home";
font-size: 16px; font-size: 16px;
position: absolute; position: absolute;
top: 20%; top: 17%;
} }
.link--1 { .link--1 {

View File

@ -20,7 +20,7 @@
content: "Home"; content: "Home";
font-size: 16px; font-size: 16px;
position: absolute; position: absolute;
top: 20%; top: 17%;
} }
.link--1 { .link--1 {