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
975a3615
Commit
975a3615
authored
May 08, 2021
by
Shaphen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[AFP-47 Shaphen Pangburn]: Clean up formatting for promotional item details
parent
a7be7aaa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
3 deletions
+15
-3
product-market.jsx
ecom-web/src/components/product-market/product-market.jsx
+1
-1
product-market.css
ecom-web/src/resources/stylesheets/product-market.css
+14
-2
No files found.
ecom-web/src/components/product-market/product-market.jsx
View file @
975a3615
...
...
@@ -41,7 +41,7 @@ export default class ProductMarket extends Component {
<
div
className=
"product-item"
>
<
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
>
{
/* <p id="prod-description">{ prod.productDescription }</p> */
}
<
p
id=
"prod-price"
>
{
prod
.
promo
?
<
div
id=
"promo-show"
>
...
...
ecom-web/src/resources/stylesheets/product-market.css
View file @
975a3615
...
...
@@ -11,7 +11,8 @@
font-size
:
30px
;
margin
:
15px
0px
10px
;
cursor
:
default
;
border-bottom
:
1px
solid
black
;
padding-bottom
:
15px
;
}
.products-container
{
...
...
@@ -55,6 +56,14 @@
cursor
:
default
;
}
#prod-name
{
font-size
:
20px
;
}
#prod-price
{
font-size
:
18px
;
}
#prod-promotion
{
color
:
red
;
}
...
...
@@ -81,9 +90,12 @@
#promo-show-text-original
{
text-decoration
:
line-through
;
font-size
:
15px
;
padding-top
:
4px
;
color
:
gray
;
}
#promo-show-text
{
font-size
:
18px
;
padding-top
:
2px
;
}
\ 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