修改当问卷标题过长时,学生查看问卷列表省略号过早出现
This commit is contained in:
parent
2f8a183168
commit
a53831a6b5
|
@ -10,11 +10,11 @@
|
|||
<% end %>
|
||||
<% else %>
|
||||
<% if has_commit && poll.polls_status == 2 %>
|
||||
<sapn class="polls_title fl" >
|
||||
<sapn class="polls_title fl" style="max-width: 500px;">
|
||||
<%= poll.polls_name.empty? ? l(:label_poll_new) : poll.polls_name %>
|
||||
</sapn>
|
||||
<% elsif !has_commit && poll.polls_status == 2 %>
|
||||
<%= link_to (poll.polls_name.empty? ? l(:label_poll_new) : poll.polls_name), poll_path(poll.id), :class => "polls_title polls_title_w fl" %>
|
||||
<%= link_to (poll.polls_name.empty? ? l(:label_poll_new) : poll.polls_name), poll_path(poll.id), :class => "polls_title polls_title_w fl", :style => "max-width: 550px;width: 550px;" %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</li>
|
||||
|
|
Loading…
Reference in New Issue