diff --git a/app/views/attachments/autocomplete.js.erb b/app/views/attachments/autocomplete.js.erb index abe2c3757..691454feb 100644 --- a/app/views/attachments/autocomplete.js.erb +++ b/app/views/attachments/autocomplete.js.erb @@ -4,5 +4,5 @@ $('#relation_file').html('<%=render_attachments_for_new_project(@project, nil)%> <% elsif @course%> $('#relation_file').html('<%=render_attachments_for_new_course(@course, nil)%>'); <% end%> -$('#attachments').children().css("width","100%").css("word-break","break-all"); +$('#attachments').children().css("width","100%").css("word-break","break-all").css("word-wrap", "break-word"); diff --git a/app/views/boards/_project_show.html.erb b/app/views/boards/_project_show.html.erb index 8cd46c35b..a14e32d6d 100644 --- a/app/views/boards/_project_show.html.erb +++ b/app/views/boards/_project_show.html.erb @@ -53,7 +53,7 @@ <% end %> -
+
<% if @topics.any? %> -
  • +
  • <%= image_tag(get_project_avatar(project), :class => "avatar-4") %>
    diff --git a/app/views/wiki/diff.html.erb b/app/views/wiki/diff.html.erb index ef26c570c..c50051d20 100644 --- a/app/views/wiki/diff.html.erb +++ b/app/views/wiki/diff.html.erb @@ -22,6 +22,6 @@ %>, <%= format_time(@diff.content_to.updated_on) %>)

    -
    +
    <%= simple_format_without_paragraph @diff.to_html %>