项目描述全英文不换行问题

This commit is contained in:
huang 2016-10-28 10:02:44 +08:00
parent cc93c830dd
commit 279937a14e
1 changed files with 2 additions and 2 deletions

View File

@ -2,9 +2,9 @@
<div class="pro_new_info mb10"> <div class="pro_new_info mb10">
<h2>项目简介<span class="fr mr15">邀请码:<span class="c_orange"><%= @project.invite_code %></span></span></h2> <h2>项目简介<span class="fr mr15">邀请码:<span class="c_orange"><%= @project.invite_code %></span></span></h2>
<% if @project.description.blank? %> <% if @project.description.blank? %>
<p><%= @project.name %><p> <p class="break_word"><%= @project.name %><p>
<% else %> <% else %>
<p><%= @project.description %><p> <p class="break_word"><%= @project.description %><p>
<% end %> <% end %>
</div> </div>