From b526c67e4f6d989b0409bdad9ce02436f1507cb4 Mon Sep 17 00:00:00 2001 From: Eliot Berriot Date: Mon, 2 Sep 2019 15:32:14 +0200 Subject: [PATCH] See #890: added confirmation before deleting comment --- .../components/manage/moderation/NotesThread.vue | 15 ++++++++++++--- front/src/style/_main.scss | 7 +++++++ 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/front/src/components/manage/moderation/NotesThread.vue b/front/src/components/manage/moderation/NotesThread.vue index 2d5aab8b5..705354ec8 100644 --- a/front/src/components/manage/moderation/NotesThread.vue +++ b/front/src/components/manage/moderation/NotesThread.vue @@ -17,9 +17,18 @@
- - Delete - + + + Delete +

Delete this note?

+
+

The note will be removed. This action is irreversible.

+
+

Delete

+
diff --git a/front/src/style/_main.scss b/front/src/style/_main.scss index 708d6d946..742d66673 100644 --- a/front/src/style/_main.scss +++ b/front/src/style/_main.scss @@ -376,5 +376,12 @@ input + .help { } } +.ui.borderless.button { + border: none !important; + box-shadow: none !important; + padding-left: 0; + padding-right: 0; +} + @import "./themes/_light.scss"; @import "./themes/_dark.scss";