about summary refs log tree commit diff
path: root/app/javascript/styles
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-10-17 20:07:44 +0200
committerGitHub <noreply@github.com>2017-10-17 20:07:44 +0200
commit05686cc99d409739ae470e2c2b00796f413ae40b (patch)
tree99c3628ddbe517f1b6f5a0b37847d17745909292 /app/javascript/styles
parent484208ce12402d8b82070038d9be8441b82f86e7 (diff)
Fix unwanted content warning gap in CSS (#5436)
Fix #5356
Diffstat (limited to 'app/javascript/styles')
-rw-r--r--app/javascript/styles/components.scss8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/javascript/styles/components.scss b/app/javascript/styles/components.scss
index b6da70c91..5211489f7 100644
--- a/app/javascript/styles/components.scss
+++ b/app/javascript/styles/components.scss
@@ -511,6 +511,14 @@
   overflow: hidden;
   white-space: pre-wrap;
 
+  &.status__content--with-spoiler {
+    white-space: normal;
+
+    .status__content__text {
+      white-space: pre-wrap;
+    }
+  }
+
   .emojione {
     width: 18px;
     height: 18px;