Fix word-wrap on comments and description (#397 regression)

See merge request chocobozzz/PeerTube!10
This commit is contained in:
Chocobozzz 2018-04-20 08:17:29 +02:00
commit 3689141ac3
2 changed files with 14 additions and 2 deletions

View File

@ -48,6 +48,11 @@
.comment-html {
word-break: normal;
word-wrap: break-word;
overflow-wrap: break-word;
-webkit-hyphens: auto;
-ms-hyphens: auto;
-moz-hyphens: auto;
hyphens: auto;
text-align: justify;
/deep/ a {
@ -100,4 +105,4 @@
.root-comment {
img { margin-right: 10px; }
}
}
}

View File

@ -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;
}
@ -252,6 +257,8 @@
}
.other-videos {
padding-left: 1em;
.title-page {
margin-top: 0;
}