Skip to content

Commit

Permalink
refactor: show 4 columns on xl screens (#872)
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn authored Sep 29, 2024
1 parent c3d04ed commit 8c9bfbc
Show file tree
Hide file tree
Showing 17 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion src/views/BrandDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</v-row>

<v-row class="mt-0">
<v-col v-for="product in brandProductList" :key="product" cols="12" sm="6" md="4">
<v-col v-for="product in brandProductList" :key="product" cols="12" sm="6" md="4" xl="3">
<ProductCard :product="product" elevation="1" height="100%" />
</v-col>
</v-row>
Expand Down
2 changes: 1 addition & 1 deletion src/views/CategoryDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</v-row>

<v-row class="mt-0">
<v-col v-for="product in categoryProductList" :key="product" cols="12" sm="6" md="4">
<v-col v-for="product in categoryProductList" :key="product" cols="12" sm="6" md="4" xl="3">
<ProductCard :product="product" elevation="1" height="100%" />
</v-col>
</v-row>
Expand Down
2 changes: 1 addition & 1 deletion src/views/CountryCityDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<v-window v-model="currentDisplay" disabled>
<v-window-item value="list">
<v-row class="mt-0 mb-1">
<v-col v-for="location in countryCityLocationList" :key="location" cols="12" sm="6" md="4">
<v-col v-for="location in countryCityLocationList" :key="location" cols="12" sm="6" md="4" xl="3">
<LocationCard :location="location" :hideLocationOSMID="true" :hideCountryCity="true" height="100%" />
</v-col>
</v-row>
Expand Down
2 changes: 1 addition & 1 deletion src/views/CountryDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<v-window v-model="currentDisplay" disabled>
<v-window-item value="list">
<v-row class="mt-0 mb-1">
<v-col v-for="location in countryLocationList" :key="location" cols="12" sm="6" md="4">
<v-col v-for="location in countryLocationList" :key="location" cols="12" sm="6" md="4" xl="3">
<LocationCard :location="location" :hideLocationOSMID="true" :hideCountryCity="true" height="100%" />
</v-col>
</v-row>
Expand Down
2 changes: 1 addition & 1 deletion src/views/DateDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</v-row>

<v-row class="mt-0">
<v-col v-for="price in datePriceList" :key="price" cols="12" sm="6" md="4">
<v-col v-for="price in datePriceList" :key="price" cols="12" sm="6" md="4" xl="3">
<PriceCard :price="price" :product="price.product" elevation="1" height="100%" />
</v-col>
</v-row>
Expand Down
2 changes: 1 addition & 1 deletion src/views/LabelDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</v-row>

<v-row class="mt-0">
<v-col v-for="product in labelProductList" :key="product" cols="12" sm="6" md="4">
<v-col v-for="product in labelProductList" :key="product" cols="12" sm="6" md="4" xl="3">
<ProductCard :product="product" elevation="1" height="100%" />
</v-col>
</v-row>
Expand Down
2 changes: 1 addition & 1 deletion src/views/LocationDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</v-row>

<v-row class="mt-0">
<v-col v-for="price in locationPriceList" :key="price" cols="12" sm="6" md="4">
<v-col v-for="price in locationPriceList" :key="price" cols="12" sm="6" md="4" xl="3">
<PriceCard :price="price" :product="price.product" :hidePriceLocation="true" elevation="1" height="100%" />
</v-col>
</v-row>
Expand Down
2 changes: 1 addition & 1 deletion src/views/LocationList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
</v-row>

<v-row class="mt-0">
<v-col v-for="location in locationList" :key="location" cols="12" sm="6" md="4">
<v-col v-for="location in locationList" :key="location" cols="12" sm="6" md="4" xl="3">
<LocationCard :location="location" :hideLocationOSMID="true" :hideCountryCity="true" height="100%" />
</v-col>
</v-row>
Expand Down
2 changes: 1 addition & 1 deletion src/views/PriceList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
</h1>

<v-row>
<v-col v-for="price in priceList" :key="price" cols="12" sm="6" md="4">
<v-col v-for="price in priceList" :key="price" cols="12" sm="6" md="4" xl="3">
<PriceCard :price="price" :product="price.product" elevation="1" height="100%" />
</v-col>
</v-row>
Expand Down
2 changes: 1 addition & 1 deletion src/views/ProductDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<v-window v-model="currentDisplay" disabled>
<v-window-item value="list">
<v-row class="mt-0 mb-1">
<v-col v-for="price in productPriceList" :key="price" cols="12" sm="6" md="4">
<v-col v-for="price in productPriceList" :key="price" cols="12" sm="6" md="4" xl="3">
<PriceCard :price="price" :product="product" :hideProductImage="true" :hideProductTitle="true" :hideProductDetails="productIsCategory ? false : true" elevation="1" height="100%" />
</v-col>
</v-row>
Expand Down
2 changes: 1 addition & 1 deletion src/views/ProductList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
</v-row>

<v-row class="mt-0">
<v-col v-for="product in productList" :key="product" cols="12" sm="6" md="4">
<v-col v-for="product in productList" :key="product" cols="12" sm="6" md="4" xl="3">
<ProductCard :product="product" elevation="1" height="100%" />
</v-col>
</v-row>
Expand Down
2 changes: 1 addition & 1 deletion src/views/ProofDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</v-row>

<v-row v-if="proof">
<v-col v-for="price in proofPriceList" :key="price" cols="12" sm="6" md="4">
<v-col v-for="price in proofPriceList" :key="price" cols="12" sm="6" md="4" xl="3">
<PriceCard :price="price" :product="price.product" :hidePriceProof="true" elevation="1" height="100%" />
</v-col>
</v-row>
Expand Down
2 changes: 1 addition & 1 deletion src/views/Search.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
</p>

<v-row v-if="productTotal > 0" class="mt-0">
<v-col v-for="product in productList" :key="product" cols="12" sm="6" md="4">
<v-col v-for="product in productList" :key="product" cols="12" sm="6" md="4" xl="3">
<ProductCard :product="product" :latestPrice="product.latest_price" elevation="1" height="100%" />
</v-col>
</v-row>
Expand Down
2 changes: 1 addition & 1 deletion src/views/UserDashboardPriceList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</v-row>

<v-row>
<v-col v-for="price in userPriceList" :key="price" cols="12" sm="6" md="4">
<v-col v-for="price in userPriceList" :key="price" cols="12" sm="6" md="4" xl="3">
<PriceCard :price="price" :product="price.product" elevation="1" height="100%" />
</v-col>
</v-row>
Expand Down
2 changes: 1 addition & 1 deletion src/views/UserDashboardProofList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
</v-row>

<v-row>
<v-col v-for="proof in userProofList" :key="proof" cols="12" sm="6" md="4">
<v-col v-for="proof in userProofList" :key="proof" cols="12" sm="6" md="4" xl="3">
<ProofCard :proof="proof" :hideProofHeader="true" height="100%" @proofUpdated="handleProofUpdated" />
</v-col>
</v-row>
Expand Down
2 changes: 1 addition & 1 deletion src/views/UserDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</v-row>

<v-row class="mt-0">
<v-col v-for="price in userPriceList" :key="price" cols="12" sm="6" md="4">
<v-col v-for="price in userPriceList" :key="price" cols="12" sm="6" md="4" xl="3">
<PriceCard :price="price" :product="price.product" elevation="1" height="100%" />
</v-col>
</v-row>
Expand Down
2 changes: 1 addition & 1 deletion src/views/UserList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
</v-row>

<v-row class="mt-0">
<v-col v-for="user in userList" :key="user" cols="12" sm="6" md="4">
<v-col v-for="user in userList" :key="user" cols="12" sm="6" md="4" xl="3">
<UserCard :user="user" height="100%" />
</v-col>
</v-row>
Expand Down

0 comments on commit 8c9bfbc

Please sign in to comment.