From: Chocobozzz Date: Mon, 26 Mar 2018 07:36:30 +0000 (+0200) Subject: Fix video description CSS X-Git-Tag: v1.0.0-beta.2~36 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=20acba1c3737bc3137f0efb0448e60c703ff7fd0;p=oweals%2Fpeertube.git Fix video description CSS --- 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; }