From f76e71825da3b185e549cd3267813fd12cee4050 Mon Sep 17 00:00:00 2001
From: abcang <abcang1015@gmail.com>
Date: Fri, 7 Jul 2017 04:31:03 +0900
Subject: Improve Activity stream spoiler (#4088)

---
 app/javascript/styles/stream_entries.scss | 12 ++++++++++++
 1 file changed, 12 insertions(+)

(limited to 'app/javascript/styles')

diff --git a/app/javascript/styles/stream_entries.scss b/app/javascript/styles/stream_entries.scss
index fcec32d44..e89cc3f09 100644
--- a/app/javascript/styles/stream_entries.scss
+++ b/app/javascript/styles/stream_entries.scss
@@ -330,6 +330,18 @@
     }
   }
 
+  .media-spoiler-wrapper {
+    &.media-spoiler-wrapper__visible {
+      .media-spoiler {
+        display: none;
+      }
+
+      .spoiler-button {
+        display: block;
+      }
+    }
+  }
+
   .pre-header {
     padding: 14px 0;
     padding-left: (48px + 14px * 2);
-- 
cgit