diff --git a/app/views/pull_requests/_pull_request_changes.html.erb b/app/views/pull_requests/_pull_request_changes.html.erb index b24efee6a..f8c423504 100644 --- a/app/views/pull_requests/_pull_request_changes.html.erb +++ b/app/views/pull_requests/_pull_request_changes.html.erb @@ -16,11 +16,11 @@ <%= line_num %> <% if line[0,1] == "-" %> -
<%= line.html_safe %>
+
<%= line.html_safe %>
<% elsif line[0,1] == "+" %> -
<%= line.html_safe %>
+
<%= line.html_safe %>
<% else%> -
<%= line.html_safe %>
+
<%= line.html_safe %>
<% end %> <% line_num += 1 %> diff --git a/public/stylesheets/css/public.css b/public/stylesheets/css/public.css index cc27955d5..6712d5ef0 100644 --- a/public/stylesheets/css/public.css +++ b/public/stylesheets/css/public.css @@ -148,7 +148,6 @@ a.opnionButton:hover{background: #297fb8; } .hiddent{ overflow:hidden; white-space: nowrap; text-overflow:ellipsis;} -.break_word_firefox{white-space: pre-wrap;word-break: break-all;} .font_bold{font-weight: bold;} @@ -443,7 +442,7 @@ a.sortArrowActiveU {background:url(../images/post_image_list.png) -17px -20px no .postDetailWrap {width:655px; float:left;} .postDetailTitle {width:570px; max-width:570px; margin-bottom:5px;} .postDetailDes {width:580px; max-width:580px; margin-bottom:6px; color:#888888;display:block;overflow:hidden;word-break:keep-all;text-overflow:ellipsis;} -.postDetailDes p,div,em{word-break: break-all;word-wrap: break-word;} +/*.postDetailDes p,div,em{word-break: break-all;word-wrap: break-word;}*/ .postDetailDes ol li{list-style-type: decimal;margin-left: 40px;} .postDetailDes ul li{list-style-type: disc;margin-left: 40px;} .postDetailDes td,.postDetailDes tr {border: 1px solid; border-color: inherit;}