From a9707dc799bee35bf4674a1815b903511b045a9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Z=C3=BCrcher?= Date: Tue, 11 Nov 2025 08:10:24 +0100 Subject: [PATCH] change notification from top left to top center --- src/vueLib/general/useNotify.ts | 6 +----- src/vueLib/login/userStore.ts | 10 ++-------- 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/src/vueLib/general/useNotify.ts b/src/vueLib/general/useNotify.ts index b15376f..4630c0b 100644 --- a/src/vueLib/general/useNotify.ts +++ b/src/vueLib/general/useNotify.ts @@ -48,13 +48,9 @@ export function useNotify() { $q?.notify({ message: message, color: color, - position: 'top-left', + position: 'top', icon: icon, timeout: timeout, - classes: 'custom-notify', - attrs: { - style: 'margin-top: 50px', - }, actions: [ { icon: 'close', diff --git a/src/vueLib/login/userStore.ts b/src/vueLib/login/userStore.ts index 7885787..d865f67 100644 --- a/src/vueLib/login/userStore.ts +++ b/src/vueLib/login/userStore.ts @@ -56,12 +56,9 @@ export const useUserStore = defineStore('user', { $q?.notify({ message: "user '" + this.user?.username + "' logged out", color: 'orange', - position: 'top-left', + position: 'top', icon: 'warning', timeout: 5000, - attrs: { - style: 'margin-top: 50px', - }, actions: [ { icon: 'close', @@ -87,12 +84,9 @@ export const useUserStore = defineStore('user', { $q?.notify({ message: err, color: 'orange', - position: 'top-left', + position: 'top', icon: 'warning', timeout: 5000, - attrs: { - style: 'margin-top: 50px', - }, actions: [ { icon: 'close',