From ea5cd0fa2cdc7655ed5ecf134dedd52400837ef2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9rald=20Niel?= Date: Tue, 17 Apr 2018 18:55:14 +0200 Subject: See commit 2a97572 fix #397 (regression) --- client/src/app/videos/+video-watch/video-watch.component.scss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'client/src/app/videos/+video-watch/video-watch.component.scss') 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 3ebeccd4b..9b7bc7351 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.scss +++ b/client/src/app/videos/+video-watch/video-watch.component.scss @@ -215,7 +215,8 @@ font-size: 15px; .video-info-description-html { - word-wrap: break-word; + word-break: normal; + word-wrap: normal; text-align: justify; } @@ -251,6 +252,8 @@ } .other-videos { + padding-left: 1em; + .title-page { margin-top: 0; } -- cgit v1.2.3 From f7ecffa49a487655a4527c1631e7539b50feb6ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9rald=20Niel?= Date: Thu, 19 Apr 2018 19:40:18 +0200 Subject: Update css (don't cut word arbitrary) for description and comments. --- client/src/app/videos/+video-watch/video-watch.component.scss | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'client/src/app/videos/+video-watch/video-watch.component.scss') 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 d78e5c6a1..b9596cbee 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.scss +++ b/client/src/app/videos/+video-watch/video-watch.component.scss @@ -216,7 +216,12 @@ .video-info-description-html { word-break: normal; - word-wrap: normal; + word-wrap: break-word; + overflow-wrap: break-word; + -webkit-hyphens: auto; + -ms-hyphens: auto; + -moz-hyphens: auto; + hyphens: auto; text-align: justify; } @@ -253,7 +258,7 @@ .other-videos { padding-left: 1em; - + .title-page { margin-top: 0; } -- cgit v1.2.3