From 19955002306e5b175911ec3d27d0420bca17a885 Mon Sep 17 00:00:00 2001 From: z9hang Date: Mon, 29 Sep 2014 15:00:01 +0800 Subject: [PATCH] =?UTF-8?q?#1245=E5=B7=AE=E5=88=AB=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E8=B6=85=E8=BE=B9=E6=A1=86=E9=97=AE=E9=A2=98=EF=BC=8C=E4=BF=AE?= =?UTF-8?q?=E6=94=B9css=EF=BC=8C=E5=90=8C=E6=97=B6=E5=B0=86style=E7=A7=BB?= =?UTF-8?q?=E5=88=B0application.css=E6=96=87=E4=BB=B6=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/journals/diff.html.erb | 2 +- public/stylesheets/application.css | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/journals/diff.html.erb b/app/views/journals/diff.html.erb index 237cfea4f..d846b9d19 100644 --- a/app/views/journals/diff.html.erb +++ b/app/views/journals/diff.html.erb @@ -1,7 +1,7 @@

<%=h @issue.tracker %> #<%= @issue.id %>

<%= authoring @journal.created_on, @journal.user, :label => :label_updated_time_by %>

-
+
<%= simple_format_without_paragraph @diff.to_html %>
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index e83037ca4..38af97023 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -2352,6 +2352,8 @@ button.tabs_new_enterprise-right { background-color:#f6f6f6; color:#505050; border: 1px solid #e4e4e4; + word-break: break-all; + word-wrap: break-word; } /***** Wiki *****/