Skip to content

Open source personal finance application

refactor: update trns

ilkomea742a9bb88ec
diff --git a/components/trns/list/TrnsList.vue b/components/trns/list/TrnsList.vue
index bc7c4653..9567f37e 100644
--- a/components/trns/list/TrnsList.vue
+++ b/components/trns/list/TrnsList.vue
@@ -169,6 +169,9 @@ div
:trnId="trnId"
)
- .py-4(v-if="!isShowedAllTrns")
- .button(@click="showMoreTrns") {{ $t('trns.more') }}
+ .py-4.pb-6.px-3.flex-center(v-if="!isShowedAllTrns")
+ .cursor-pointer.grow.py-3.px-5.flex-center.rounded-full.text-sm.bg-skin-item-main-bg.hocus_bg-skin-item-main-hover(
+ class="basis-1/2 max-w-[280px]"
+ @click="showMoreTrns"
+ ) {{ $t('trns.more') }}
</template>
diff --git a/components/trns/list/TrnsListHistory.vue b/components/trns/list/TrnsListHistory.vue
index a0ec0250..cc3279d2 100644
--- a/components/trns/list/TrnsListHistory.vue
+++ b/components/trns/list/TrnsListHistory.vue
@@ -148,6 +148,9 @@ div
:trnId="trnId"
)
- .py-4(v-if="!isShowedAllTrns")
- .button(@click="showMoreTrns") {{ $t('trns.more') }}
+ .py-4.pb-6.px-3.flex-center(v-if="!isShowedAllTrns")
+ .cursor-pointer.grow.py-3.px-5.flex-center.rounded-full.text-sm.bg-skin-item-main-bg.hocus_bg-skin-item-main-hover(
+ class="basis-1/2 max-w-[280px]"
+ @click="showMoreTrns"
+ ) {{ $t('trns.more') }}
</template>