修改当问卷标题过长时,学生查看问卷列表省略号过早出现
This commit is contained in:
parent
2f8a183168
commit
a53831a6b5
|
@ -10,11 +10,11 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
<% else %>
|
<% else %>
|
||||||
<% if has_commit && poll.polls_status == 2 %>
|
<% 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 %>
|
<%= poll.polls_name.empty? ? l(:label_poll_new) : poll.polls_name %>
|
||||||
</sapn>
|
</sapn>
|
||||||
<% elsif !has_commit && poll.polls_status == 2 %>
|
<% 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 %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</li>
|
</li>
|
||||||
|
|
Loading…
Reference in New Issue