From cb631d4abb25b15cd9818b33d45a074d0ffa3e6b Mon Sep 17 00:00:00 2001 From: Balazs Nadasdi Date: Sat, 11 Apr 2020 11:32:55 +0200 Subject: [PATCH] Option to hide revealed sensitive media (#6209) * Option to hide revealed sensitive media This PR commit adds a button on sensitive images and videos to to hide them without refreshing the page. * fix position with multiple images * Fixing some lint problems Not related to this PR, but "Node.js CI / lint" failed on it. --- src/client/components/media-image.vue | 73 ++++++++++++++++++--------- src/client/components/media-video.vue | 63 +++++++++++++++-------- 2 files changed, 91 insertions(+), 45 deletions(-) diff --git a/src/client/components/media-image.vue b/src/client/components/media-image.vue index 79b5150b1..bd53f8242 100644 --- a/src/client/components/media-image.vue +++ b/src/client/components/media-image.vue @@ -5,19 +5,22 @@ {{ $t('clickToShow') }} - -
GIF
-
+
+ + +
GIF
+
+