feat: adiciona espaçamento lateral descrição produto

This commit is contained in:
Rafael Sampaio de Oliveira 2023-01-30 09:35:29 -03:00
parent 7fea93d635
commit ed41362db8
6 changed files with 19 additions and 7 deletions

View File

@ -20,3 +20,7 @@
[class*="html--descriptionText"] {
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";
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();

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"],
"props": {
"blockClass": "description",

View File

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

View File

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

View File

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