diff --git a/README.md b/README.md index 6f9f4c03..a8d235e9 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@

- Ocular - Helps you see your budget more clearly ✨ + ✨ Ocular - Helps you see your budget more clearly ✨

diff --git a/src/app/components/base/button/Button.vue b/src/app/components/base/button/Button.vue index 2e774c6a..67242243 100644 --- a/src/app/components/base/button/Button.vue +++ b/src/app/components/base/button/Button.vue @@ -65,6 +65,8 @@ const classes = computed(() => [ diff --git a/src/app/components/base/list/List.vue b/src/app/components/base/list/List.vue index 37df288e..a05a84c1 100644 --- a/src/app/components/base/list/List.vue +++ b/src/app/components/base/list/List.vue @@ -9,6 +9,6 @@ display: flex; flex-direction: column; list-style: none outside none; - grid-gap: 10px; + gap: 10px; } diff --git a/src/app/pages/Frame.vue b/src/app/pages/Frame.vue index 929dd2f6..8c4f1364 100644 --- a/src/app/pages/Frame.vue +++ b/src/app/pages/Frame.vue @@ -1,8 +1,10 @@ diff --git a/src/app/pages/navigation/tools/ToolsButton.vue b/src/app/pages/navigation/tools/ToolsButton.vue index f374e11d..94ae3487 100644 --- a/src/app/pages/navigation/tools/ToolsButton.vue +++ b/src/app/pages/navigation/tools/ToolsButton.vue @@ -3,9 +3,8 @@ :tooltip="t('navigation.tools.tools')" :position="media === 'mobile' ? 'top' : 'right-end'" tooltip-position="right" - :class="classes" > - + @@ -19,14 +19,20 @@ import { ContextMenuOption } from '@components/base/context-menu/ContextMenu.typ import ContextMenu from '@components/base/context-menu/ContextMenu.vue'; import { useMediaQuery, useTime } from '@composables'; import { useDataStore } from '@store/state'; +import { ClassNames } from '@utils'; const PRE_PLANNABLE_YEARS = 1; +const props = defineProps<{ + class: ClassNames; +}>(); + const { t } = useI18n(); const { changeYear, state } = useDataStore(); const media = useMediaQuery(); const time = useTime(); +const classes = computed(() => props.class); const options = computed((): ContextMenuOption[] => { const yearsStored = state.years.map((v) => v.year); const offset = Math.min(...yearsStored); diff --git a/src/app/pages/shared/ChartPlaceholder.vue b/src/app/pages/shared/ChartPlaceholder.vue index d4980090..7797cd75 100644 --- a/src/app/pages/shared/ChartPlaceholder.vue +++ b/src/app/pages/shared/ChartPlaceholder.vue @@ -30,7 +30,7 @@ const { t } = useI18n(); flex-direction: column; align-items: center; justify-content: center; - grid-gap: 10px; + gap: 10px; flex-grow: 1; &, @@ -41,7 +41,7 @@ const { t } = useI18n(); .icons { display: grid; grid-template-columns: 24px 24px; - grid-gap: 10px; + gap: 10px; } } diff --git a/src/app/pages/shared/Pane.vue b/src/app/pages/shared/Pane.vue index 0996e29a..4d501d82 100644 --- a/src/app/pages/shared/Pane.vue +++ b/src/app/pages/shared/Pane.vue @@ -79,8 +79,13 @@ useScrollShadow(header, content, 'var(--app-scroll-box-shadow)'); } .header { - padding: 20px 10px 15px; + padding: 15px 15px 10px; align-items: flex-end; + + .title { + font-size: var(--font-size-m); + font-weight: var(--font-weight-xl); + } } .content { diff --git a/src/i18n/locales/de.json b/src/i18n/locales/de.json index 07917e40..f5ebdf69 100644 --- a/src/i18n/locales/de.json +++ b/src/i18n/locales/de.json @@ -21,7 +21,7 @@ "unknownError": "Etwas ist schiefgelaufen. Bitte versuchen Sie es später erneut." }, "copyPaste": { - "copy": "Daten kopieren von {year}", + "copy": "Daten von {year} kopieren", "paste": "Daten von {from} nach {to} kopieren", "confirm": "Sind Sie sicher, dass Sie die Daten von {from} nach {to} kopieren möchten?" }, @@ -59,7 +59,7 @@ }, "info": { "about": "Über Ocular", - "github": "Schauen Sie sich dieses Projekt auf {link} an!", + "github": "Schauen dir sich dieses Projekt auf {link} an!", "madeWithLove": "Entwickelt mit ❤️von Simon", "meta": "{version} / {date} / {sha}" }, @@ -120,7 +120,7 @@ "summary": "Zusammenfassung", "endingBalance": "Endsaldo", "header": "Jährliches Budget für {year}", - "remainingBalance": "Verbleibendes Guthaben bis {year}", + "remainingBalance": "Verbleibendes Netto bis {year}", "netSavings": "Nettoersparnisse", "yearInThePast": "Jahr liegt in der Vergangenheit", "yearInTheFuture": "Jahr liegt in der Zukunft",