From a82f7d6a05c7056a88f237c6d76268c5b9df0e13 Mon Sep 17 00:00:00 2001 From: huff-laptop Date: Tue, 5 May 2026 11:56:10 +0200 Subject: [PATCH] mobile styling improvements implemented --- app/components/Nav/HorizontalNav.vue | 60 +++++++++++++++-------- app/components/Settings/SettingsSheet.vue | 20 ++++++-- app/components/Utils/Sheet.vue | 11 ++++- app/composables/useIsPwa.ts | 17 +++++++ app/composables/useSettings.ts | 2 + i18n/locales/de.json | 5 +- i18n/locales/en.json | 5 +- 7 files changed, 92 insertions(+), 28 deletions(-) create mode 100644 app/composables/useIsPwa.ts diff --git a/app/components/Nav/HorizontalNav.vue b/app/components/Nav/HorizontalNav.vue index 2c8f48d..1b1866d 100644 --- a/app/components/Nav/HorizontalNav.vue +++ b/app/components/Nav/HorizontalNav.vue @@ -4,34 +4,52 @@ const isSettingsSheetOpen = defineModel("isSettingsSheetOpen"); const isFilterSheetOpen = defineModel("isFilterSheetOpen"); const isNewSheetOpen = defineModel("isNewSheetOpen"); + + const { standalone } = useIsPwa(); + const { settings } = useSettings(); diff --git a/app/components/Settings/SettingsSheet.vue b/app/components/Settings/SettingsSheet.vue index 6639d20..ceefbd6 100644 --- a/app/components/Settings/SettingsSheet.vue +++ b/app/components/Settings/SettingsSheet.vue @@ -52,7 +52,7 @@