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
cb300969
Commit
cb300969
authored
May 10, 2021
by
Shaphen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[AFP-47 Shaphen Pangburn]: Reformate product details' sku and brand placement
parent
25d1ab67
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
2 deletions
+16
-2
product-details.jsx
ecom-web/src/components/product-market/product-details.jsx
+4
-1
product-market.css
ecom-web/src/resources/stylesheets/product-market.css
+12
-1
No files found.
ecom-web/src/components/product-market/product-details.jsx
View file @
cb300969
...
...
@@ -13,8 +13,11 @@ export default class ProductDetails extends Component {
<
div
id=
"prod-details-container"
>
<
img
alt=
""
src=
{
this
.
props
.
product
.
productImageUrl
}
id=
"prod-details-img"
/>
<
div
id=
"prod-details-box"
>
<
div
id=
"details-brand-and-sku-box"
>
<
p
id=
"details-brand"
>
{
this
.
props
.
product
.
brand
}
</
p
>
<
p
id=
"details-sku"
>
sku:
{
this
.
props
.
product
.
sku
}
</
p
>
</
div
>
<
p
id=
"details-title"
>
{
this
.
props
.
product
.
productName
}
</
p
>
<
p
id=
"details-sku"
><
span
>
sku:
</
span
>
{
this
.
props
.
product
.
sku
}
</
p
>
<
p
id=
"details-description"
>
{
this
.
props
.
product
.
productDescription
}
</
p
>
</
div
>
</
div
>
...
...
ecom-web/src/resources/stylesheets/product-market.css
View file @
cb300969
...
...
@@ -202,10 +202,21 @@
margin-top
:
10px
;
}
#details-brand-and-sku-box
{
display
:
flex
;
justify-content
:
space-between
;
}
#details-brand
{
font-size
:
15px
;
opacity
:
0.5
;
margin-left
:
5px
;
}
#details-sku
{
font-size
:
15px
;
margin
:
5px
0px
10px
;
opacity
:
0.5
;
margin-right
:
5px
;
}
#details-description
{
...
...
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