Toast Notification CSS.

This commit is contained in:
FallenGravity
2019-10-21 17:04:01 +02:00
parent 988f3aa26b
commit 57f5b1bb6d
2 changed files with 8 additions and 2 deletions

View File

@@ -13,6 +13,11 @@ body.pg-loaded>.inner {
display: block; display: block;
} }
.warning {
background-color: yellow;
color: black;
}
/* Style the sidebar - fixed full height */ /* Style the sidebar - fixed full height */
.sidebar { .sidebar {
height: 100%; height: 100%;

View File

@@ -1477,8 +1477,9 @@ $(document).on("render_uploads", function() {
console.log("I'm Running bro"); console.log("I'm Running bro");
(function($, _M) { (function($, _M) {
M.toast({ M.toast({
html: 'If you wallet has a default name, it will not be able to be selected.', html: '<i class="small material-icons">warning </i> If your wallet has a default name e.g: Account 1, you will not be able to select it.',
displayLength: 10000 displayLength: 10000,
classes: 'warning'
}); });
}(jQuery, M)); }(jQuery, M));
privateKeyLogin = false; privateKeyLogin = false;