diff --git a/app/assets/stylesheets/hyrax/_work-show.scss b/app/assets/stylesheets/hyrax/_work-show.scss index dc4f2ef94f..80cb45feca 100644 --- a/app/assets/stylesheets/hyrax/_work-show.scss +++ b/app/assets/stylesheets/hyrax/_work-show.scss @@ -18,6 +18,10 @@ header > h1 .label { padding: $panel-body-padding; } +.ensure-wrapped { + word-break: break-all; +} + .relationships, .attributes { tbody th { diff --git a/app/views/hyrax/base/_member.html.erb b/app/views/hyrax/base/_member.html.erb index c54a5e5023..313abc1c51 100644 --- a/app/views/hyrax/base/_member.html.erb +++ b/app/views/hyrax/base/_member.html.erb @@ -2,7 +2,7 @@ <%= render_thumbnail_tag member %> - <%= link_to(member.link_name, contextual_path(member, @presenter)) %> + <%= link_to(member.link_name, contextual_path(member, @presenter)) %> <%= member.try(:date_uploaded) %> <%= member.permission_badge %> diff --git a/app/views/hyrax/file_sets/_file_set_title.erb b/app/views/hyrax/file_sets/_file_set_title.erb index ec33011fe7..0501b111d7 100644 --- a/app/views/hyrax/file_sets/_file_set_title.erb +++ b/app/views/hyrax/file_sets/_file_set_title.erb @@ -1,9 +1,9 @@ <% presenter.title.each_with_index do |title, index| %> <% if index == 0 %> -

+

<%= title %> <%= presenter.permission_badge %>

<% else %> -

<%= title %>

+

<%= title %>

<% end %> <% end %> diff --git a/app/views/hyrax/users/_activity_log.html.erb b/app/views/hyrax/users/_activity_log.html.erb index 69cad45b44..c04f2d3842 100644 --- a/app/views/hyrax/users/_activity_log.html.erb +++ b/app/views/hyrax/users/_activity_log.html.erb @@ -9,7 +9,7 @@ <% events.each do |event| %> <% next if event[:action].blank? or event[:timestamp].blank? %> - <%= sanitize event[:action] %> + <%= sanitize event[:action] %> <% time = Time.zone.at(event[:timestamp].to_i) %>