Skip to content

Commit 718b047

Browse files
committed
Improve list style
1 parent d863b4c commit 718b047

4 files changed

Lines changed: 12 additions & 2 deletions

File tree

frontend/src/components/CoinListView.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,11 @@ const loadImage = async (index, coinId) => {
130130
<v-text-field
131131
v-model="searchVal"
132132
:label="i18n.global.t('Search')"
133-
clearable
134133
@change="onChanged"
135134
@click:clear="onChanged"
135+
clearable
136+
density="comfortable"
137+
hide-details
136138
/>
137139
</v-container>
138140

frontend/src/components/FilterItem.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ const onFilterClear = async () => {
3030
@update:modelValue="onFilterChanged"
3131
return-object
3232
v-model:menu="isMenuOpen"
33+
density="comfortable"
3334
>
3435
<template v-slot:prepend-item>
3536
<v-list-item :title="i18n.global.t('All')" @click="onFilterClear"></v-list-item>

frontend/src/components/SettingsView.vue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ const handleThemeChange = (theme) => {
6767
item-title="name"
6868
item-value="lang"
6969
@update:model-value="setLocale"
70+
density="comfortable"
71+
hide-details
7072
>
7173
</v-select>
7274
</v-list-item-action>
@@ -79,6 +81,8 @@ const handleThemeChange = (theme) => {
7981
v-model="statusPresentation"
8082
:items="statusItems"
8183
:item-title="item => i18n.global.t(item.title)"
84+
density="comfortable"
85+
hide-details
8286
>
8387
</v-select>
8488
</v-list-item-action>
@@ -91,6 +95,8 @@ const handleThemeChange = (theme) => {
9195
v-model="imagePresentation"
9296
:items="imageViewItems"
9397
:item-title="item => i18n.global.t(item.title)"
98+
density="comfortable"
99+
hide-details
94100
>
95101
</v-select>
96102
</v-list-item-action>

frontend/src/components/SortItem.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,14 @@ const onChanged = async (val) => {
1616
<v-col class="mr-4">
1717
<v-select
1818
v-model="sortedBy"
19-
hide-details
2019
:items="fields"
2120
:label="i18n.global.t('Sort by')"
2221
:item-title="item => settings.fields[item]"
2322
@update:modelValue="onChanged"
2423
return-object
2524
clearable
25+
density="comfortable"
26+
hide-details
2627
></v-select>
2728
</v-col>
2829

0 commit comments

Comments
 (0)