Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix video description CSS

Chocobozzz20acba1c3737
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 627171ef12..7aadc28662 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 d764dcebd7..e6684e9091 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;
}