dev_forum
SylorHuang 6 years ago
parent 0922155a1c
commit b69d705ed7

@ -80,15 +80,15 @@
<% if q.question_type == 0 %> <% if q.question_type == 0 %>
<% q.exercise_choices.each do |s| %> <% q.exercise_choices.each do |s| %>
<div class="pbt5 clearfix v-middle"> <div class="pbt5 clearfix v-middle">
<span class="choose-radio pull-left line-20"></span> <span class="choose-radio pull-left line-24"></span>
<span class="inline-block pull-left line-20"><%= to_markdown(s.choice_text) %></span> <span class="inline-block pull-left line-24"><%= to_markdown(s.choice_text) %></span>
</div> </div>
<% end %> <% end %>
<% elsif q.question_type == 1 %> <% elsif q.question_type == 1 %>
<% q.exercise_choices.each do |s| %> <% q.exercise_choices.each do |s| %>
<div class="pbt5 clearfix v-middle"> <div class="pbt5 clearfix v-middle">
<span class="choose-checkbox pull-left line-20"></span> <span class="choose-checkbox pull-left line-24"></span>
<span class="inline-block pull-left line-20"><%= to_markdown(s.choice_text) %></span> <span class="inline-block pull-left line-24"><%= to_markdown(s.choice_text) %></span>
</div> </div>
<% end %> <% end %>
<% elsif q.question_type == 2 %> <% elsif q.question_type == 2 %>

@ -309,8 +309,8 @@ textarea{
clear:both; clear:both;
zoom:1; zoom:1;
} }
.line-20{ .line-24{
line-height: 20px; line-height: 24px;
} }
.line-20 P{ .line-20 P{
margin-bottom:0; margin-bottom:0;

Loading…
Cancel
Save