File tree Expand file tree Collapse file tree 2 files changed +13
-12
lines changed Expand file tree Collapse file tree 2 files changed +13
-12
lines changed Original file line number Diff line number Diff line change @@ -40,11 +40,6 @@ body {
4040 border-radius : 50% ;
4141}
4242
43- .container {
44- display : flex;
45- flex-direction : row;
46- flex-wrap : wrap;
47- }
4843
4944.disabledButton {
5045 background-color : # d8d8d8 ;
9792 font-size : 22px ;
9893}
9994
100- .product {
95+ .product-display {
10196 display : flex;
10297 flex-direction : column;
10398 padding : 1rem ;
10499}
105100
101+ .product-container {
102+ display : flex;
103+ flex-direction : row;
104+ flex-wrap : wrap;
105+ }
106+
106107.product-image ,
107108.product-info {
108109 width : 50% ;
Original file line number Diff line number Diff line change @@ -8,9 +8,9 @@ app.component('product-display', {
88 template :
99 /*html*/
1010 `
11- <div class="product">
11+ <div class="product-display ">
1212
13- <div class="container">
13+ <div class="product- container">
1414 <div class="product-image">
1515 <img :src="image" />
1616 </div>
@@ -39,12 +39,12 @@ app.component('product-display', {
3939 >
4040 Add to cart
4141 </button>
42-
4342 </div>
44-
45- <review-list :reviews="reviews"></review-list>
46- <review-form @review-submitted="addReview" ></review-form>
4743 </div>
44+
45+ <review-list :reviews="reviews"></review-list>
46+ <review-form @review-submitted="addReview" ></review-form>
47+ </div>
4848 ` ,
4949 data ( ) {
5050 return {
You can’t perform that action at this time.
0 commit comments