dev_forum
SylorHuang 6 years ago
parent 0922155a1c
commit b69d705ed7

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

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

Loading…
Cancel
Save