编程作业弹框的高度设置
This commit is contained in:
parent
8cc87c007f
commit
a613b58b46
|
@ -7,7 +7,7 @@
|
|||
<%= options_for_select({"C语言"=>1, "C++"=>2, "Python"=>3, "Java"=>4}, (edit_mode && homework.is_program_homework?) ? homework.language : 1) %>
|
||||
</select>
|
||||
</div>
|
||||
<div style="max-height: 320px; overflow-y:auto; width:730px;">
|
||||
<div style="height: 320px; overflow-y:auto; width:730px;">
|
||||
<% if edit_mode && homework.is_program_homework? %>
|
||||
<% homework.homework_tests.each_with_index do |test, index| %>
|
||||
<div class="mt10">
|
||||
|
|
Loading…
Reference in New Issue