Browse Source

Made sure Toasts are on top of everything

theflametrooper 8 years ago
parent
commit
5f76cb320d
1 changed files with 8 additions and 1 deletions
  1. 8 1
      frontend/App.vue

+ 8 - 1
frontend/App.vue

@@ -55,6 +55,9 @@
 			}
 		},
 		ready() {
+			Toast.methods.addToast('Hiasd', 50000);
+			Toast.methods.addToast('Hiasd', 50000);
+			Toast.methods.addToast('Hiasd', 50000);
 			let _this = this;
 			auth.getStatus((authenticated, role, username, userId) => {
 				_this.socket = window.socket;
@@ -117,4 +120,8 @@
 		},
 		components: { Toast, WhatIsNew, LoginModal, RegisterModal, CreateCommunityStation }
 	}
-</script>
+</script>
+
+<style type='scss'>
+	#toast-container { z-index: 10000 !important; }
+</style>