change notification from top left to top center

This commit is contained in:
Adrian Zürcher
2025-11-11 08:10:24 +01:00
parent 67dee7a746
commit a9707dc799
2 changed files with 3 additions and 13 deletions

View File

@@ -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',

View File

@@ -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',