项目简介单词不换行修改
This commit is contained in:
parent
891f966a66
commit
4fcddf743d
|
@ -3,9 +3,9 @@
|
||||||
<div id="project_invite_code"><%= render :partial => 'projects/invite_code' %></div>
|
<div id="project_invite_code"><%= render :partial => 'projects/invite_code' %></div>
|
||||||
<div id="project_description_code" style="padding: 0 15px 10px 15px;">
|
<div id="project_description_code" style="padding: 0 15px 10px 15px;">
|
||||||
<% if @project.description.blank? %>
|
<% if @project.description.blank? %>
|
||||||
<p class="break_word" style="padding-top:5px"><%= @project.name %></p>
|
<p style="padding-top:5px"><%= @project.name %></p>
|
||||||
<% else %>
|
<% 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 %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue