Skip to content

Open source personal finance application

ui: update paddings

ilkome9df292a921b0
diff --git a/components/stat/SummaryRowItemView.vue b/components/stat/SummaryRowItemView.vue
index 5d70b710..3243d62a 100644
--- a/components/stat/SummaryRowItemView.vue
+++ b/components/stat/SummaryRowItemView.vue
@@ -9,8 +9,9 @@ export default {
computed: {
className() {
return {
- _expense: this.type === 0,
- _income: this.type === 1,
+ '_expense': this.type === 0,
+ '_income': this.type === 1,
+ 'pb-[2px]': true,
}
},
},
@@ -19,7 +20,7 @@ export default {
<template lang="pug">
.summaryItem(:class="className")
- .summaryItem__title.pb-1 {{ title }}
+ .summaryItem__title(class="pb-[2px]") {{ title }}
.summaryItem__amount.text-skin-item-base
Amount(
:amount="amount"
diff --git a/components/stat/sum/Group.vue b/components/stat/sum/Group.vue
index 2890998c..6e0108bb 100644
--- a/components/stat/sum/Group.vue
+++ b/components/stat/sum/Group.vue
@@ -27,7 +27,6 @@ const typeNumber = computed(() => moneyTypes.find(t => t.id === `${props.typeTex
)
//- Average
- //- TODO: change everything to expense and income
LazyStatSummaryRowItemView(
v-if="statPage.average[typeText] !== 0"
:amount="statPage.average[typeText]"