diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 549226f58d..61c825fca8 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -616,6 +616,8 @@ tr.turn { .browse-tag-list { table-layout: fixed; white-space: pre-wrap; + word-wrap: break-word; + word-break: break-word; tr:last-child th, tr:last-child td { border-bottom: 0; diff --git a/app/views/browse/_tag_details.html.erb b/app/views/browse/_tag_details.html.erb index 2b4ec1bb07..cb876198c3 100644 --- a/app/views/browse/_tag_details.html.erb +++ b/app/views/browse/_tag_details.html.erb @@ -1,7 +1,7 @@ <% unless tag_details.empty? %>

<%= t ".tags" %>

- +
<%= render :partial => "browse/tag", :collection => tag_details.sort %>