amended styles
This commit is contained in:
parent
0e485e3ee9
commit
142346579f
@ -40,11 +40,6 @@ body {
|
|||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.container {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
.disabledButton {
|
.disabledButton {
|
||||||
background-color: #d8d8d8;
|
background-color: #d8d8d8;
|
||||||
@ -97,12 +92,18 @@ p {
|
|||||||
font-size: 22px;
|
font-size: 22px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.product {
|
.product-display {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.product-container {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
}
|
||||||
|
|
||||||
.product-image,
|
.product-image,
|
||||||
.product-info {
|
.product-info {
|
||||||
width: 50%;
|
width: 50%;
|
||||||
|
|||||||
@ -8,9 +8,9 @@ app.component('product-display', {
|
|||||||
template:
|
template:
|
||||||
/*html*/
|
/*html*/
|
||||||
`
|
`
|
||||||
<div class="product">
|
<div class="product-display">
|
||||||
|
|
||||||
<div class="container">
|
<div class="product-container">
|
||||||
<div class="product-image">
|
<div class="product-image">
|
||||||
<img :src="image" />
|
<img :src="image" />
|
||||||
</div>
|
</div>
|
||||||
@ -39,7 +39,7 @@ app.component('product-display', {
|
|||||||
>
|
>
|
||||||
Add to cart
|
Add to cart
|
||||||
</button>
|
</button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<review-list :reviews="reviews"></review-list>
|
<review-list :reviews="reviews"></review-list>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user