aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-02-20 11:29:28 +0100
committerChocobozzz <me@florianbigard.com>2018-02-20 11:29:28 +0100
commit54a932e82ae9c2ede48d2302a14f307d2e7908d6 (patch)
tree5b18c9ee2f7017ba7d56db74fefb2170a127a6b6
parent3d9eaae318670986fedab257b8be344c9b43d8d5 (diff)
downloadPeerTube-54a932e82ae9c2ede48d2302a14f307d2e7908d6.tar.gz
PeerTube-54a932e82ae9c2ede48d2302a14f307d2e7908d6.tar.zst
PeerTube-54a932e82ae9c2ede48d2302a14f307d2e7908d6.zip
Don't break design on long description/comment
-rw-r--r--client/src/app/videos/+video-watch/comment/video-comment.component.scss2
-rw-r--r--client/src/app/videos/+video-watch/video-watch.component.scss4
2 files changed, 6 insertions, 0 deletions
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 @@
44 } 44 }
45 45
46 .comment-html { 46 .comment-html {
47 word-break: break-all;
48
47 a { 49 a {
48 @include disable-default-a-behaviour; 50 @include disable-default-a-behaviour;
49 51
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 @@
196 margin: 20px 0; 196 margin: 20px 0;
197 font-size: 15px; 197 font-size: 15px;
198 198
199 .video-info-description-html {
200 word-break: break-all;
201 }
202
199 .description-loading { 203 .description-loading {
200 display: inline-block; 204 display: inline-block;
201 } 205 }