/posts: word wrap long sources in sidebar.

* Don't truncate long sources in the sidebar on the post show page. Word
  wrap them instead.
* Word wrap long external links in general (mainly links in dtext).
* Turn sources into links on modqueue page.
This commit is contained in:
evazion
2019-10-13 18:53:46 -05:00
parent ee6f7a1d7e
commit 20f28910da
5 changed files with 12 additions and 4 deletions

View File

@@ -27,7 +27,7 @@
<li>
<strong>Hidden</strong>: <%= render "post_disapprovals/compact_counts", :disapprovals => post.disapprovals, :post => post %>
</li>
<li class="mod-queue-post-source"><strong>Source</strong>: <%= post.source %></li>
<li class="mod-queue-post-source"><strong>Source</strong>: <%= post_source_tag(post) %></li>
<% if post.has_active_pools? %>
<li><strong>Pools</strong>: <%= render "pools/inline_list", pools: post.pools.undeleted %></li>
<% end %>