Add line-break so links don't overflow

This commit is contained in:
Omar Roth 2018-03-05 10:12:45 -06:00
parent 72826c4d96
commit fc7b84cc68

View file

@ -101,12 +101,12 @@ function toggle(target) {
<h3><%= video.info["author"] %></h3> <h3><%= video.info["author"] %></h3>
</a> </a>
</p> </p>
<div style="margin-right:1em;"> <div style="margin-right:1em; word-break:break-all;">
<%= video.description %> <%= video.description %>
</div> </div>
<hr style="margin-right:1em;"> <hr style="margin-right:1em;">
<% if reddit_thread && !reddit_comments.as_a.empty? %> <% 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> <h3><%= reddit_thread.data.title %></h3>
<b> <b>
<a target="_blank" class="link" href="https://reddit.com<%= reddit_thread.data.permalink %>">View comments on Reddit</a> <a target="_blank" class="link" href="https://reddit.com<%= reddit_thread.data.permalink %>">View comments on Reddit</a>