Skip to content

Open source personal finance application

chore: fix same paddings

Ilya Komichev271f653f5bbe
diff --git a/app/components/stat/date/Navigation.vue b/app/components/stat/date/Navigation.vue
index 5697bef0..3f325280 100644
--- a/app/components/stat/date/Navigation.vue
+++ b/app/components/stat/date/Navigation.vue
@@ -59,7 +59,7 @@ function changeDate(way: 'next' | 'prev' | 'today') {
</script>
<template>
- <div class="items-top flex items-center grow gap-2 sticky top-[77px] lg:top-[89px] py-2 -my-2 sticky z-20 bg-default/90 backdrop-blur overflow-x-auto">
+ <div class="items-top flex items-center grow gap-2 sticky top-[75px] lg:top-[89px] py-2 -my-2 sticky z-20 bg-default/90 backdrop-blur overflow-x-auto">
<div
v-if="!statDate.params.value.customDate"
class="flex gap-1"
diff --git a/app/components/stat/sum/ItemWallet.vue b/app/components/stat/sum/ItemWallet.vue
index 7d7b2feb..64e04ff8 100644
--- a/app/components/stat/sum/ItemWallet.vue
+++ b/app/components/stat/sum/ItemWallet.vue
@@ -19,7 +19,7 @@ const currenciesStore = useCurrenciesStore()
<template>
<div
:class="[getStyles('item', ['center', 'minh1', 'minw1'])]"
- class="grid grow-0 gap-1 py-1"
+ class="grid grow-0 gap-1 py-1 lg:gap-1"
@click="(e: Event) => emit('click', e)"
>
<UiTitle6>{{ props.title }}</UiTitle6>
diff --git a/app/components/ui/Title6.vue b/app/components/ui/Title6.vue
index e2c7ac97..e360baca 100644
--- a/app/components/ui/Title6.vue
+++ b/app/components/ui/Title6.vue
@@ -6,7 +6,7 @@ const emit = defineEmits<{
<template>
<div
- class="text-2xs leading-none text-2"
+ class="text-2xs leading-none text-2 lg:text-sm"
@click="(e: Event) => emit('click', e)"
>
<slot />
diff --git a/app/components/wallets/page/id/Index.vue b/app/components/wallets/page/id/Index.vue
index 1e4396ac..a54439da 100644
--- a/app/components/wallets/page/id/Index.vue
+++ b/app/components/wallets/page/id/Index.vue
@@ -101,7 +101,7 @@ useHead({ title: wallet.value?.name })
</template>
</StatHeader>
- <div class="px-3 pb-2 lg:gap-8 lg:px-2">
+ <div class="px-3 pb-2 lg:gap-8 lg:px-4 2xl:px-8">
<div
v-if="wallet.type !== 'credit'"
class="md:max-w-lg"