编程作业弹框的高度设置

This commit is contained in:
cxt 2016-01-28 11:08:16 +08:00
parent 8cc87c007f
commit a613b58b46
1 changed files with 1 additions and 1 deletions

View File

@ -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">