Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
inventory-promotion-react
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ascend
inventory-promotion-react
Commits
775cec94
Commit
775cec94
authored
May 10, 2021
by
Ben Anderson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Centered product grid on /products
parent
704e3419
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ProductGrid.jsx
src/component/ProductGrid.jsx
+2
-2
No files found.
src/component/ProductGrid.jsx
View file @
775cec94
...
...
@@ -19,7 +19,7 @@ export default function ProductGrid({ productData }) {
useEffect
(()
=>
fetchProducts
(),
[]);
return
(
<
div
>
<
div
class=
"container flex-column d-flex justify-content-center"
>
<
div
className=
"container mt-3 d-flex justify-content-between align-items-center"
>
<
h1
id=
"title"
className=
"text-center"
>
Inventory
...
...
@@ -28,7 +28,7 @@ export default function ProductGrid({ productData }) {
+ New Product
</
Link
>
</
div
>
<
Container
id=
"prod-grid"
className=
"mt-3"
>
<
Container
id=
"prod-grid"
className=
"mt-3
mx-auto
"
>
<
Row
xs=
{
1
}
sm=
{
2
}
md=
{
3
}
lg=
{
4
}
>
{
products
.
map
((
product
)
=>
{
return
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment