modify style

This commit is contained in:
MaysWind
2023-08-26 19:36:39 +08:00
parent 601b1d5c89
commit a991adecaf
4 changed files with 23 additions and 3 deletions
+8
View File
@@ -22,6 +22,10 @@ input[type=number] {
pointer-events: none !important;
}
.smaller {
font-size: 0.75rem;
}
.overflow-y-visible {
overflow-y: visible !important;
}
@@ -116,6 +120,10 @@ input[type=number] {
row-gap: 1rem;
}
.text-field-append-text {
color: rgba(var(--v-theme-on-background), var(--v-medium-emphasis-opacity));
}
/** Common class for replacing the default style of vuetify **/
.v-table {
th {
+5 -1
View File
@@ -134,7 +134,11 @@
:items="allCurrencies"
:no-data-text="$t('No results')"
v-model="user.defaultCurrency"
/>
>
<template #append-inner>
<small class="text-field-append-text smaller">{{ user.defaultCurrency }}</small>
</template>
</v-autocomplete>
</v-col>
<v-col cols="12" md="6">
@@ -121,7 +121,11 @@
:items="allCurrencies"
:no-data-text="$t('No results')"
v-model="selectedAccount.currency"
/>
>
<template #append-inner>
<small class="text-field-append-text smaller">{{ selectedAccount.currency }}</small>
</template>
</v-autocomplete>
</v-col>
<v-col cols="12" md="12" v-if="account.type === allAccountTypes.SingleAccount || currentAccountIndex >= 0">
<amount-input :disabled="loading || submitting || !!editAccountId"
@@ -125,7 +125,11 @@
:items="allCurrencies"
:no-data-text="$t('No results')"
v-model="newProfile.defaultCurrency"
/>
>
<template #append-inner>
<small class="text-field-append-text smaller">{{ newProfile.defaultCurrency }}</small>
</template>
</v-autocomplete>
</v-col>
<v-col cols="12" md="6">