From 20acba1c3737bc3137f0efb0448e60c703ff7fd0 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 26 Mar 2018 09:36:30 +0200 Subject: Fix video description CSS --- .../videos/+video-watch/comment/video-comments.component.scss | 1 + client/src/app/videos/+video-watch/video-watch.component.scss | 11 +++++------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/client/src/app/videos/+video-watch/comment/video-comments.component.scss b/client/src/app/videos/+video-watch/comment/video-comments.component.scss index 627171ef1..7aadc2866 100644 --- a/client/src/app/videos/+video-watch/comment/video-comments.component.scss +++ b/client/src/app/videos/+video-watch/comment/video-comments.component.scss @@ -18,6 +18,7 @@ display: inline-block; font-size: 13px; } + .comment-html { word-wrap: normal; word-break: normal; 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 d764dcebd..e6684e909 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.scss +++ b/client/src/app/videos/+video-watch/video-watch.component.scss @@ -38,7 +38,9 @@ .video-info { flex-grow: 1; - margin-right: 28px; + margin-right: 40px; + // Set min width for flex item + min-width: 1px; .video-info-first-row { display: flex; @@ -203,9 +205,8 @@ font-size: 15px; .video-info-description-html { - word-break: normal; - word-wrap: normal; - text-align: justify; + word-wrap: break-word; + text-align: justify; } .description-loading { @@ -240,8 +241,6 @@ } .other-videos { - padding-left: 1em; - .title-page { margin-top: 0; } -- cgit v1.2.3