Skip to content

Commit

Permalink
update style
Browse files Browse the repository at this point in the history
  • Loading branch information
Stanislav committed Jun 4, 2020
1 parent 01f01ab commit ec52463
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/components/shopping-cart-table/shopping-cart-table.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,11 @@ const ShoppingCartTable = ({ items, total, onIncrease, onDecrease, onDelete }) =
}

return (
<div className="shopping-cart-table">
<h2>Your Order</h2>
<div className="shopping-cart-table mb-3">
<div className="d-flex justify-content-between align-items-center">
<h2>Your Order</h2>
<SumTotal />
</div>
<table className="table table-bordered m-0">
<thead className="table-primary">
<tr>
Expand All @@ -64,8 +67,6 @@ const ShoppingCartTable = ({ items, total, onIncrease, onDecrease, onDelete }) =
{ items.map(renderRow) }
</tbody>
</table>

<SumTotal />
</div>
)
};
Expand Down

0 comments on commit ec52463

Please sign in to comment.