Skip to content

Open source personal finance application

refactor: streamline stat navigation and summary component layouts

Ilya Komichev75495cbffe7c
diff --git a/app/components/stat/date/Navigation.vue b/app/components/stat/date/Navigation.vue
index 9b02bc11..0f1e14bf 100644
--- a/app/components/stat/date/Navigation.vue
+++ b/app/components/stat/date/Navigation.vue
@@ -57,7 +57,7 @@ function changeDate(way: 'next' | 'prev' | 'today') {
</script>
<template>
- <div class="items-top @xl/page:pl-2 @xl/page:grid-cols-[auto,1fr] grid grow grid-cols-[1fr,auto] gap-2">
+ <div class="items-top @xl/page:grid-cols-[auto,1fr] grid grow grid-cols-[1fr,auto] gap-2">
<BottomSheetOrDropdown
:title="t('dates.select')"
:isOpen="statDate.modals.value.dateSelector"
diff --git a/app/components/stat/sum/Wrap.vue b/app/components/stat/sum/Wrap.vue
index c0fed4fb..3a302257 100644
--- a/app/components/stat/sum/Wrap.vue
+++ b/app/components/stat/sum/Wrap.vue
@@ -37,7 +37,7 @@ function onClick(type: StatTabSlug) {
</script>
<template>
- <div class="@2xl/page:my-2 mb-2 overflow-x-auto">
+ <div class="overflow-x-auto">
<div
v-if="props.type === 'netIncome' || props.type === 'trns'"
class="@2xl/page:justify-start @2xl/page:gap-x-4 flex flex-wrap justify-stretch gap-2"