Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ecommerce-maven
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
ecommerce-maven
Commits
9772c911
Commit
9772c911
authored
May 08, 2021
by
Shaphen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[AFP-47 Shaphen Pangburn]: Adjust formatting to look more even with flexbox
parent
d83ca88e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
product-market.jsx
ecom-web/src/components/product-market/product-market.jsx
+2
-2
product-market.css
ecom-web/src/resources/stylesheets/product-market.css
+3
-2
No files found.
ecom-web/src/components/product-market/product-market.jsx
View file @
9772c911
...
...
@@ -35,9 +35,9 @@ export default class ProductMarket extends Component {
<
div
className=
"products-container"
>
{
this
.
props
.
products
.
map
(
prod
=>
{
return
(
<
div
className=
"product-item"
>
<
div
className=
"product-item"
key=
{
prod
.
sku
}
>
{
prod
.
productName
?
<
div
key=
{
prod
.
sku
}
>
<
div
>
<
img
id=
"prod-img"
src=
{
prod
.
productImageUrl
?
prod
.
productImageUrl
:
"-no photo-"
}
/>
<
p
id=
"prod-name"
>
{
prod
.
productName
}
</
p
>
<
p
id=
"prod-description"
>
{
prod
.
productDescription
}
</
p
>
...
...
ecom-web/src/resources/stylesheets/product-market.css
View file @
9772c911
...
...
@@ -11,11 +11,12 @@
}
.products-container
{
width
:
10
0%
;
width
:
8
0%
;
display
:
flex
;
flex-wrap
:
wrap
;
justify-content
:
center
;
}
#prod-img
{
width
:
25
0px
;
height
:
20
0px
;
}
\ No newline at end of file
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