Skip to content

Open source personal finance application

refactor(wallets): drop unconditional position:relative on item

Ilya Komichev199c32622831
diff --git a/app/app/components/wallets/ItemBody.vue b/app/app/components/wallets/ItemBody.vue
index 9f59cb4e..ef58a840 100644
--- a/app/app/components/wallets/ItemBody.vue
+++ b/app/app/components/wallets/ItemBody.vue
@@ -25,15 +25,10 @@ const emit = defineEmits<{
const currenciesStore = useCurrenciesStore()
-const classes = computed(() => ([
- 'relative',
- {
- 'bg-elevated/30 rounded-sm': props.compact,
- },
- {
- group: props.isSort,
- },
-]))
+const classes = computed(() => ({
+ 'bg-elevated/30 rounded-sm': props.compact,
+ 'group relative': props.isSort,
+}))
const walletCreditLimit = computed(() =>
props.wallet.type === 'credit' ? props.wallet.creditLimit : 0,