Commit f481a1ef authored by Shaphen Pangburn's avatar Shaphen Pangburn

[AFP-131 Shaphen Pangburn]: Adjust price and promotions sizing and placement

parent d65198df
...@@ -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">
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
#promo-show { #promo-show {
display: flex; display: flex;
justify-content: center; justify-content: center;
margin-top: 5px; margin-top: 3px;
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: 4px; padding-top: 6px;
color: gray; color: gray;
} }
#promo-show-text { #promo-show-text {
font-size: 18px; font-size: 20px;
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%;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment