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 {
</p> : ""}
</div>
<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>
<input
className="order-quantity"
......
......@@ -140,7 +140,7 @@
#prod-promotion {
font-size: 17px;
color: red;
padding-bottom: 5px;
padding-bottom: 6px;
}
#quantity-text {
......@@ -172,6 +172,8 @@
display: flex;
justify-content: center;
margin-top: 5px;
padding-top: 2px;
height: 24px;
}
#promo-show-text, #promo-show-text-original {
......@@ -217,10 +219,12 @@
#please-log-in-notice {
display: none;
position: absolute;
bottom: 47px;
left: 22px;
text-align: center;
bottom: 50px;
width: 80%;
padding: 3px 10px;
border-radius: 5px;
cursor: default;
background-color: rgb(248, 76, 76);
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