Commit 975a3615 authored by Shaphen's avatar Shaphen

[AFP-47 Shaphen Pangburn]: Clean up formatting for promotional item details

parent a7be7aaa
...@@ -41,7 +41,7 @@ export default class ProductMarket extends Component { ...@@ -41,7 +41,7 @@ export default class ProductMarket extends Component {
<div className="product-item"> <div className="product-item">
<img id="prod-img" src={ prod.productImageUrl ? prod.productImageUrl : "-no photo-" } /> <img id="prod-img" src={ prod.productImageUrl ? prod.productImageUrl : "-no photo-" } />
<p id="prod-name">{ prod.productName }</p> <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"> <p id="prod-price">
{ prod.promo ? { prod.promo ?
<div id="promo-show"> <div id="promo-show">
......
...@@ -11,7 +11,8 @@ ...@@ -11,7 +11,8 @@
font-size: 30px; font-size: 30px;
margin: 15px 0px 10px; margin: 15px 0px 10px;
cursor: default; cursor: default;
border-bottom: 1px solid black;
padding-bottom: 15px;
} }
.products-container { .products-container {
...@@ -55,6 +56,14 @@ ...@@ -55,6 +56,14 @@
cursor: default; cursor: default;
} }
#prod-name {
font-size: 20px;
}
#prod-price {
font-size: 18px;
}
#prod-promotion { #prod-promotion {
color: red; color: red;
} }
...@@ -81,9 +90,12 @@ ...@@ -81,9 +90,12 @@
#promo-show-text-original { #promo-show-text-original {
text-decoration: line-through; text-decoration: line-through;
font-size: 15px;
padding-top: 4px;
color: gray; color: gray;
} }
#promo-show-text { #promo-show-text {
font-size: 18px;
padding-top: 2px;
} }
\ No newline at end of file
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