Skip to content

Open source personal finance application

style: fix CSS class formatting in AmountTransfer and Description

Ilya Komichev87e60125ddca
diff --git a/app/components/trnForm/main/AmountTransfer.vue b/app/components/trnForm/main/AmountTransfer.vue
index 942eb3df..9c03967d 100644
--- a/app/components/trnForm/main/AmountTransfer.vue
+++ b/app/components/trnForm/main/AmountTransfer.vue
@@ -85,8 +85,9 @@ function copyAmount() {
:key="slug"
>
<div
- :class="cn('-m-1 grid gap-2 overflow-hidden rounded-sm border border-transparent p-2',
- trnsFormStore.values.transferType === item.transferType && 'border-(--ui-primary)/50',
+ :class="cn(
+ '-m-1 grid gap-2 overflow-hidden rounded-sm border border-transparent p-2',
+ trnsFormStore.values.transferType === item.transferType && 'border-(--ui-primary)/50',
)"
@click="trnsFormStore.onChangeTransferType(item.transferType)"
>
diff --git a/app/components/trnForm/main/Description.vue b/app/components/trnForm/main/Description.vue
index 81cfc98d..042efca1 100644
--- a/app/components/trnForm/main/Description.vue
+++ b/app/components/trnForm/main/Description.vue
@@ -23,7 +23,7 @@ function onSave(close: () => void) {
<BottomSheetOrDropdown
:isOpen="trnsFormStore.modal.description"
:title="t('trnForm.description.title')"
- class="!grow-0 shrink-0"
+ class="shrink-0 !grow-0"
dragClassesCustom="max-w-md"
isShowCloseBtn
@closeModal="trnsFormStore.closeTrnFormModal('description')"