Skip to content

Commit

Permalink
refactor(Home): show 4 columns of latest prices on xl screens. ref #843
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn committed Sep 29, 2024
1 parent b1b2337 commit c3d04ed
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@
<br>

<v-row>
<v-col v-for="price in displayedPriceList" :key="price" cols="12" sm="6" md="4">
<v-col v-for="price in displayedPriceList" :key="price" cols="12" sm="6" md="4" xl="3">
<PriceCard :price="price" :product="price.product" :hidePriceCreated="false" elevation="1" height="100%" />
</v-col>
<v-col cols="12" sm="6" md="4" align="center" justify="center">
<v-col cols="12" sm="6" md="4" xl="3" align="center">
<br v-if="$vuetify.display.smAndUp"><!-- TODO: center vertically instead of br -->
<br v-if="$vuetify.display.smAndUp">
<v-btn to="/prices" prepend-icon="mdi-tag-multiple-outline" append-icon="mdi-arrow-right">
{{ $t('Home.LatestPrices') }}
</v-btn>
Expand Down

0 comments on commit c3d04ed

Please sign in to comment.