Skip to content

Commit 25eba84

Browse files
committed
Fix for Vuetify 4
1 parent c401a97 commit 25eba84

6 files changed

Lines changed: 15 additions & 15 deletions

File tree

frontend/package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"vue": "^3.5.29",
2020
"vue-i18n": "^11.2.8",
2121
"vue-router": "^5.0.3",
22-
"vuetify": "^4.0.0"
22+
"vuetify": "^4.0.1"
2323
},
2424
"devDependencies": {
2525
"@vitejs/plugin-vue": "^6.0.4",

frontend/src/components/CoinView.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ onUnmounted(async () => {
4949

5050
<v-container>
5151
<dl>
52-
<v-row no-gutters>
52+
<v-row density="compact">
5353
<v-col cols="12" md="6">
54-
<v-row no-gutters>
54+
<v-row density="compact">
5555
<dt class="v-col-sm-3 text-medium-emphasis">{{ settings.fields['status'] }}</dt>
5656
<dd class="v-col-sm-9">
5757
<StatusItem :status="coinData[service.infoFieldIndex('status')]" :statuses="settings.statuses" statusPresentation="icon_text" class="font-weight-bold" />
@@ -130,7 +130,7 @@ onUnmounted(async () => {
130130
</v-col>
131131

132132
<v-col cols="12" md="6">
133-
<v-row no-gutters>
133+
<v-row density="compact">
134134
<template v-if="coinData[service.infoFieldIndex('grade')]">
135135
<dt class="v-col-sm-3 text-medium-emphasis">{{ settings.fields['grade'] }}</dt>
136136
<dd class="v-col-sm-9 font-weight-bold">{{ coinData[service.infoFieldIndex('grade')] }}</dd>

frontend/src/components/FilterItem.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ const onFilterChanged = async (val) => {
2222
density="comfortable"
2323
>
2424
<template v-slot:selection="{ item }" v-if="field === 'status'">
25-
<StatusItem :status="item.raw" :statuses="settings.statuses" statusPresentation="icon_text" />
25+
<StatusItem :status="item" :statuses="settings.statuses" statusPresentation="icon_text" />
2626
</template>
2727
<template v-slot:item="{ props, item }" v-if="field === 'status'">
2828
<v-list-item v-bind="props" title="">
29-
<StatusItem :status="item.raw" :statuses="settings.statuses" statusPresentation="icon_text" />
29+
<StatusItem :status="item" :statuses="settings.statuses" statusPresentation="icon_text" />
3030
</v-list-item>
3131
</template>
3232
</v-select>

frontend/src/components/SortItem.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const onChanged = async (val) => {
1212
</script>
1313

1414
<template>
15-
<v-row align="center" no-gutters v-if="fields.length > 0">
15+
<v-row align="center" density="compact" v-if="fields.length > 0">
1616
<v-col class="mr-4">
1717
<v-select
1818
v-model="sortedBy"

frontend/src/components/StatusItem.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,18 @@ const props = defineProps(['status', 'statuses', 'statusPresentation', 'class'])
1111
{{ statuses[status] }}
1212
</template>
1313
<template v-if="statusPresentation === 'icon_text'">
14-
<v-row align="center" no-gutters>
14+
<v-row align="center" density="compact">
1515
<v-col cols="auto">
1616
<v-img :src="`${status}.png`" width="16"></v-img>
1717
</v-col>
18-
<v-col class="ps-2" :class="props.class">
18+
<v-col :class="props.class">
1919
{{ statuses[status] }}
2020
</v-col>
2121
</v-row>
2222
</template>
2323
<template v-if="statusPresentation === 'text_icon'">
24-
<v-row align="center" no-gutters>
25-
<v-col class="pe-2" :class="props.class">
24+
<v-row align="center" density="compact">
25+
<v-col :class="props.class">
2626
{{ statuses[status] }}
2727
</v-col>
2828
<v-col cols="auto">

0 commit comments

Comments
 (0)