Update input component and toast position

This commit is contained in:
Andras Bacsai committed 2024-03-22 13:09:02 +01:00
1 parent 66fe124dd1
commit 2f50f64ecf
4 files changed
+6 -4

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@
}" x-init="window.toast = function(message, options = {}) {
let description = '';
let type = 'default';
let position = 'bottom-right';
let position = 'top-center';
let html = '';
if (typeof options.description != 'undefined') description = options.description;
if (typeof options.type != 'undefined') type = options.type;