development #1

Merged
Gabriel_Lehmann merged 10 commits from development into master 2023-02-11 02:51:13 +00:00
3 changed files with 14 additions and 7 deletions
Showing only changes of commit 4d40da32a0 - Show all commits

View File

@ -0,0 +1,4 @@
.vtex-flex-layout-0-x-flexRowContent--product-image-width {
border: 1px solid red;
margin-right: 40px;
}

View File

@ -2,6 +2,7 @@ import React, { useEffect, useState } from "react";
import { useProduct } from "vtex.product-context"; import { useProduct } from "vtex.product-context";
import PixImage from "./PixImage"; import PixImage from "./PixImage";
import Style from "./styles.css"; import Style from "./styles.css";
import "./globalStyles.css";
const PixComponents = () => { const PixComponents = () => {
const [pixValue, setPixValue] = useState(0); const [pixValue, setPixValue] = useState(0);

View File

@ -45,12 +45,13 @@
}, },
"flex-layout.row#product-main": { "flex-layout.row#product-main": {
"props": { "props": {
"colGap": 7, // "colGap": 7,
"rowGap": 7, // "rowGap": 7,
"marginTop": 4, // "marginTop": 4,
"marginBottom": 7, // "marginBottom": 7,
"paddingTop": 7, "paddingTop": 7,
"paddingBottom": 7 // "paddingBottom": 7,
"blockClass": "product-image-width"
}, },
"children": ["flex-layout.col#stack", "flex-layout.col#right-col"] "children": ["flex-layout.col#stack", "flex-layout.col#right-col"]
}, },
@ -78,7 +79,7 @@
"flex-layout.col#stack": { "flex-layout.col#stack": {
"children": ["stack-layout"], "children": ["stack-layout"],
"props": { "props": {
"width": "60%", "width": "51%",
"rowGap": 0 "rowGap": 0
} }
}, },
@ -102,7 +103,8 @@
"flex-layout.col#right-col": { "flex-layout.col#right-col": {
"props": { "props": {
"preventVerticalStretch": true, "preventVerticalStretch": true,
"rowGap": 0 "rowGap": 0,
"width": "grow"
}, },
"children": [ "children": [
"flex-layout.row#product-name", "flex-layout.row#product-name",