项目简介单词不换行修改

This commit is contained in:
yuanke 2016-11-24 15:15:52 +08:00
parent 891f966a66
commit 4fcddf743d
1 changed files with 2 additions and 2 deletions

View File

@ -3,9 +3,9 @@
<div id="project_invite_code"><%= render :partial => 'projects/invite_code' %></div>
<div id="project_description_code" style="padding: 0 15px 10px 15px;">
<% if @project.description.blank? %>
<p class="break_word" style="padding-top:5px"><%= @project.name %></p>
<p style="padding-top:5px"><%= @project.name %></p>
<% else %>
<p class="break_word" style="padding-top:5px"><%=h @project.description.html_safe %></p>
<p style="padding-top:5px"><%=h @project.description.html_safe %></p>
<% end %>
</div>
</div>