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
f481a1ef
Commit
f481a1ef
authored
May 12, 2021
by
Shaphen Pangburn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[AFP-131 Shaphen Pangburn]: Adjust price and promotions sizing and placement
parent
d65198df
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
product-item.jsx
ecom-web/src/components/product-market/product-item.jsx
+1
-1
product-market.css
ecom-web/src/resources/stylesheets/product-market.css
+9
-3
No files found.
ecom-web/src/components/product-market/product-item.jsx
View file @
f481a1ef
...
@@ -94,7 +94,7 @@ export default class ProductItem extends Component {
...
@@ -94,7 +94,7 @@ export default class ProductItem extends Component {
<
p
id=
"promo-show-text"
>
<
p
id=
"promo-show-text"
>
$
{
discount
}
$
{
discount
}
</
p
>
</
p
>
</
div
>
:
<
p
id=
"prod-price-text"
>
$
{
this
.
props
.
item
.
price
}
</
p
>
}
</
div
>
:
<
p
id=
{
this
.
props
.
item
.
promo
?
"promo-price-text"
:
"prod-price-text"
}
>
$
{
this
.
props
.
item
.
price
}
</
p
>
}
</
div
>
</
div
>
{
this
.
props
.
item
.
promo
?
{
this
.
props
.
item
.
promo
?
<
p
id=
"prod-promotion"
>
<
p
id=
"prod-promotion"
>
...
...
ecom-web/src/resources/stylesheets/product-market.css
View file @
f481a1ef
...
@@ -173,7 +173,7 @@
...
@@ -173,7 +173,7 @@
#promo-show
{
#promo-show
{
display
:
flex
;
display
:
flex
;
justify-content
:
center
;
justify-content
:
center
;
margin-top
:
5
px
;
margin-top
:
3
px
;
padding-top
:
2px
;
padding-top
:
2px
;
height
:
24px
;
height
:
24px
;
}
}
...
@@ -185,12 +185,12 @@
...
@@ -185,12 +185,12 @@
#promo-show-text-original
{
#promo-show-text-original
{
text-decoration
:
line-through
;
text-decoration
:
line-through
;
font-size
:
15px
;
font-size
:
15px
;
padding-top
:
4
px
;
padding-top
:
6
px
;
color
:
gray
;
color
:
gray
;
}
}
#promo-show-text
{
#promo-show-text
{
font-size
:
18
px
;
font-size
:
20
px
;
padding-top
:
2px
;
padding-top
:
2px
;
}
}
...
@@ -263,6 +263,12 @@
...
@@ -263,6 +263,12 @@
background-color
:
rgba
(
202
,
202
,
202
,
0.6
);
background-color
:
rgba
(
202
,
202
,
202
,
0.6
);
}
}
#prod-price-text
{
font-size
:
27px
;
padding-bottom
:
6px
;
margin-right
:
7px
;
}
#prod-details-box
{
#prod-details-box
{
width
:
100%
;
width
:
100%
;
height
:
30%
;
height
:
30%
;
...
...
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