summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOmar Roth <omarroth@hotmail.com>2018-03-06 16:59:08 -0600
committerOmar Roth <omarroth@hotmail.com>2018-03-06 16:59:08 -0600
commit2dae26e34866addd2e97fc68a1385ae183196f0c (patch)
treebe313f5f831e4d4cecf9f6713051aaff853254ac /src
parentb14b26f7c2be2605c747f03d2763f9ad1428bbe9 (diff)
downloadinvidious-2dae26e34866addd2e97fc68a1385ae183196f0c.tar.gz
invidious-2dae26e34866addd2e97fc68a1385ae183196f0c.tar.bz2
invidious-2dae26e34866addd2e97fc68a1385ae183196f0c.zip
Break lines more prettily
Diffstat (limited to 'src')
-rw-r--r--src/views/watch.ecr4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/views/watch.ecr b/src/views/watch.ecr
index 82be72b1..18307e83 100644
--- a/src/views/watch.ecr
+++ b/src/views/watch.ecr
@@ -101,12 +101,12 @@ function toggle(target) {
<h3><%= video.info["author"] %></h3>
</a>
</p>
- <div style="margin-right:1em; word-break:break-all;">
+ <div style="margin-right:1em; overflow-wrap:break-word; word-wrap:break-word;">
<%= video.description %>
</div>
<hr style="margin-right:1em;">
<% if reddit_thread && !reddit_comments.as_a.empty? %>
- <div style="margin-right:1em; word-break:break-all;">
+ <div style="margin-right:1em; overflow-wrap:break-word; word-wrap:break-word;">
<h3><%= reddit_thread.data.title %></h3>
<b>
<a target="_blank" class="link" href="https://reddit.com<%= reddit_thread.data.permalink %>">View comments on Reddit</a>