Skip to content

Commit

Permalink
fix(Mobile): fix typo. Also have 'Latest prices' as primary & block o…
Browse files Browse the repository at this point in the history
…n mobile. ref #1271
  • Loading branch information
raphodn committed Jan 15, 2025
1 parent 5f8a017 commit e5483ed
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
8 changes: 7 additions & 1 deletion src/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,13 @@
<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">
<v-btn
color="primary"
:block="!$vuetify.display.smAndUp"
to="/prices"
prepend-icon="mdi-tag-multiple-outline"
append-icon="mdi-arrow-right"
>
{{ $t('Common.LatestPrices') }}
</v-btn>
</v-col>
Expand Down
2 changes: 1 addition & 1 deletion src/views/ProofAddMultiple.vue
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export default {
},
data() {
return {
step: 2,
step: 1,
stepItemList: [
{
title: this.$t('Common.Upload'),
Expand Down
9 changes: 8 additions & 1 deletion src/views/UserDashboard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,14 @@
<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 v-if="userPriceList.length" to="/dashboard/prices" prepend-icon="mdi-tag-multiple-outline" append-icon="mdi-arrow-right">
<v-btn
v-if="userPriceList.length"
color="primary"
:block="!$vuetify.display.smAndUp"
to="/dashboard/prices"
prepend-icon="mdi-tag-multiple-outline"
append-icon="mdi-arrow-right"
>
{{ $t('UserDashboard.MyPrices') }}
</v-btn>
</v-col>
Expand Down

0 comments on commit e5483ed

Please sign in to comment.