From d4b99b2cb2e1932d23e84b33e6eebefdac51ad18 Mon Sep 17 00:00:00 2001 From: Joxit Date: Fri, 22 Sep 2017 20:26:17 +0200 Subject: [PATCH] [riot-mui] Add riot-mui in remove-image (#17) --- src/style.css | 8 ++++++++ src/tags/app.tag | 3 +++ src/tags/remove-image.tag | 16 ++++++++-------- 3 files changed, 19 insertions(+), 8 deletions(-) diff --git a/src/style.css b/src/style.css index 594ef04..457ef54 100644 --- a/src/style.css +++ b/src/style.css @@ -211,4 +211,12 @@ material-card table th.material-card-th-sorted-descending:before { } material-card table th.material-card-th-sorted-descending:before { content: "\e5db"; +} + +.material-icons { + color: #777; +} + +material-snackbar .toast { + height: auto; } \ No newline at end of file diff --git a/src/tags/app.tag b/src/tags/app.tag index f6b9200..ca09b92 100644 --- a/src/tags/app.tag +++ b/src/tags/app.tag @@ -52,6 +52,9 @@ registryUI.snackbar = function (message, isError) { registryUI.appTag.tags['material-snackbar'].addToast({'message': message, 'isError': isError}); }; + registryUI.errorSnackbar = function(message) { + return registryUI.snackbar(message, true); + } this.router.start(); diff --git a/src/tags/remove-image.tag b/src/tags/remove-image.tag index d41ee40..a6d7c1f 100644 --- a/src/tags/remove-image.tag +++ b/src/tags/remove-image.tag @@ -16,7 +16,7 @@ --> - delete + delete