Commit 05656a8c authored by Shaphen Pangburn's avatar Shaphen Pangburn

[Team]: Update product Add to Cart and price/promotion display format

parent 175fa28f
...@@ -102,7 +102,7 @@ export default class ProductItem extends Component { ...@@ -102,7 +102,7 @@ export default class ProductItem extends Component {
</p> : ""} </p> : ""}
</div> </div>
<form onSubmit={ e => this.handleSubmit(e, this.props.item) } className="add-cart-and-quantity"> <form onSubmit={ e => this.handleSubmit(e, this.props.item) } className="add-cart-and-quantity">
{ this.props.user?.currentUser ? "" :<p id="please-log-in-notice">Log in to Add to Cart</p>} { this.props.user?.currentUser ? "" :<p id="please-log-in-notice">Log in to <br /> Add to Cart</p>}
<p id="quantity-text">Qty</p> <p id="quantity-text">Qty</p>
<input <input
className="order-quantity" className="order-quantity"
......
...@@ -140,7 +140,7 @@ ...@@ -140,7 +140,7 @@
#prod-promotion { #prod-promotion {
font-size: 17px; font-size: 17px;
color: red; color: red;
padding-bottom: 5px; padding-bottom: 6px;
} }
#quantity-text { #quantity-text {
...@@ -172,6 +172,8 @@ ...@@ -172,6 +172,8 @@
display: flex; display: flex;
justify-content: center; justify-content: center;
margin-top: 5px; margin-top: 5px;
padding-top: 2px;
height: 24px;
} }
#promo-show-text, #promo-show-text-original { #promo-show-text, #promo-show-text-original {
...@@ -217,10 +219,12 @@ ...@@ -217,10 +219,12 @@
#please-log-in-notice { #please-log-in-notice {
display: none; display: none;
position: absolute; position: absolute;
bottom: 47px; text-align: center;
left: 22px; bottom: 50px;
width: 80%;
padding: 3px 10px; padding: 3px 10px;
border-radius: 5px; border-radius: 5px;
cursor: default;
background-color: rgb(248, 76, 76); background-color: rgb(248, 76, 76);
animation: fadeInUp; animation: fadeInUp;
......
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