Commit cb300969 authored by Shaphen's avatar Shaphen

[AFP-47 Shaphen Pangburn]: Reformate product details' sku and brand placement

parent 25d1ab67
...@@ -13,8 +13,11 @@ export default class ProductDetails extends Component { ...@@ -13,8 +13,11 @@ export default class ProductDetails extends Component {
<div id="prod-details-container"> <div id="prod-details-container">
<img alt="" src={ this.props.product.productImageUrl } id="prod-details-img" /> <img alt="" src={ this.props.product.productImageUrl } id="prod-details-img" />
<div id="prod-details-box"> <div id="prod-details-box">
<div id="details-brand-and-sku-box">
<p id="details-brand">{ this.props.product.brand }</p>
<p id="details-sku">sku: { this.props.product.sku }</p>
</div>
<p id="details-title">{ this.props.product.productName }</p> <p id="details-title">{ this.props.product.productName }</p>
<p id="details-sku"><span>sku:</span> { this.props.product.sku }</p>
<p id="details-description">{ this.props.product.productDescription }</p> <p id="details-description">{ this.props.product.productDescription }</p>
</div> </div>
</div> </div>
......
...@@ -202,10 +202,21 @@ ...@@ -202,10 +202,21 @@
margin-top: 10px; margin-top: 10px;
} }
#details-brand-and-sku-box {
display: flex;
justify-content: space-between;
}
#details-brand {
font-size: 15px;
opacity: 0.5;
margin-left: 5px;
}
#details-sku { #details-sku {
font-size: 15px; font-size: 15px;
margin: 5px 0px 10px;
opacity: 0.5; opacity: 0.5;
margin-right: 5px;
} }
#details-description { #details-description {
......
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