summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOmar Roth <omarroth@hotmail.com>2018-03-05 10:12:45 -0600
committerOmar Roth <omarroth@hotmail.com>2018-03-05 10:12:45 -0600
commitfc7b84cc68d5c0d5c0d3dd4052741dc02cc44c89 (patch)
tree6e91fad8024f54bc864198c50adf6513e084b78e /src
parent72826c4d9644b72e18ef9c29706c7d6395956850 (diff)
downloadinvidious-fc7b84cc68d5c0d5c0d3dd4052741dc02cc44c89.tar.gz
invidious-fc7b84cc68d5c0d5c0d3dd4052741dc02cc44c89.tar.bz2
invidious-fc7b84cc68d5c0d5c0d3dd4052741dc02cc44c89.zip
Add line-break so links don't overflow
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 6b2510e8..82be72b1 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;">
+ <div style="margin-right:1em; word-break:break-all;">
<%= video.description %>
</div>
<hr style="margin-right:1em;">
<% if reddit_thread && !reddit_comments.as_a.empty? %>
- <div style="margin-right:1em;">
+ <div style="margin-right:1em; word-break:break-all;">
<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>