Update css (don't cut word arbitrary) for description and comments.

pull/525/head
Gérald Niel 2018-04-19 19:40:18 +02:00
parent 0db1a22650
commit f7ecffa49a
2 changed files with 13 additions and 3 deletions

View File

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

View File

@ -216,7 +216,12 @@
.video-info-description-html { .video-info-description-html {
word-break: normal; 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; text-align: justify;
} }
@ -253,7 +258,7 @@
.other-videos { .other-videos {
padding-left: 1em; padding-left: 1em;
.title-page { .title-page {
margin-top: 0; margin-top: 0;
} }