move notification with new marging and close button close #7

This commit is contained in:
Adrian Zürcher
2025-11-10 08:09:09 +01:00
parent f7d5d9d019
commit c7c1b6c7c6
2 changed files with 46 additions and 3 deletions

View File

@@ -48,9 +48,24 @@ export function useNotify() {
$q?.notify({
message: message,
color: color,
position: 'bottom-right',
position: 'top-left',
icon: icon,
timeout: timeout,
classes: 'custom-notify',
attrs: {
style: 'margin-top: 50px',
},
actions: [
{
icon: 'close',
color: 'white',
dense: true,
round: true,
handler: () => {
/* just closes */
},
},
],
});
}
}