From 54a932e82ae9c2ede48d2302a14f307d2e7908d6 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 20 Feb 2018 11:29:28 +0100 Subject: [PATCH] Don't break design on long description/comment --- .../videos/+video-watch/comment/video-comment.component.scss | 2 ++ client/src/app/videos/+video-watch/video-watch.component.scss | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/client/src/app/videos/+video-watch/comment/video-comment.component.scss b/client/src/app/videos/+video-watch/comment/video-comment.component.scss index 3e8892e84..d948c9670 100644 --- a/client/src/app/videos/+video-watch/comment/video-comment.component.scss +++ b/client/src/app/videos/+video-watch/comment/video-comment.component.scss @@ -44,6 +44,8 @@ } .comment-html { + word-break: break-all; + a { @include disable-default-a-behaviour; diff --git a/client/src/app/videos/+video-watch/video-watch.component.scss b/client/src/app/videos/+video-watch/video-watch.component.scss index c88596196..bc737ccd5 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.scss +++ b/client/src/app/videos/+video-watch/video-watch.component.scss @@ -196,6 +196,10 @@ margin: 20px 0; font-size: 15px; + .video-info-description-html { + word-break: break-all; + } + .description-loading { display: inline-block; } -- 2.25.1