amended styles

This commit is contained in:
Adam Jahr 2020-05-21 22:42:14 -04:00
parent 0e485e3ee9
commit 142346579f
2 changed files with 13 additions and 12 deletions

View File

@ -40,11 +40,6 @@ body {
border-radius: 50%;
}
.container {
display: flex;
flex-direction: row;
flex-wrap: wrap;
}
.disabledButton {
background-color: #d8d8d8;
@ -97,12 +92,18 @@ p {
font-size: 22px;
}
.product {
.product-display {
display: flex;
flex-direction: column;
padding: 1rem;
}
.product-container {
display: flex;
flex-direction: row;
flex-wrap: wrap;
}
.product-image,
.product-info {
width: 50%;

View File

@ -8,9 +8,9 @@ app.component('product-display', {
template:
/*html*/
`
<div class="product">
<div class="product-display">
<div class="container">
<div class="product-container">
<div class="product-image">
<img :src="image" />
</div>
@ -39,7 +39,7 @@ app.component('product-display', {
>
Add to cart
</button>
</div>
</div>
<review-list :reviews="reviews"></review-list>