From 05686cc99d409739ae470e2c2b00796f413ae40b Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Tue, 17 Oct 2017 20:07:44 +0200 Subject: Fix unwanted content warning gap in CSS (#5436) Fix #5356 --- app/javascript/styles/components.scss | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'app/javascript/styles/components.scss') 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; -- cgit