dev_forum
SylorHuang 6 years ago
parent b69d705ed7
commit e365005af1

@ -79,14 +79,14 @@
<div class="pbt5"> <div class="pbt5">
<% 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">
<span class="choose-radio pull-left line-24"></span> <span class="choose-radio pull-left line-24"></span>
<span class="inline-block pull-left line-24"><%= 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">
<span class="choose-checkbox pull-left line-24"></span> <span class="choose-checkbox pull-left line-24"></span>
<span class="inline-block pull-left line-24"><%= to_markdown(s.choice_text) %></span> <span class="inline-block pull-left line-24"><%= to_markdown(s.choice_text) %></span>
</div> </div>

@ -312,11 +312,9 @@ textarea{
.line-24{ .line-24{
line-height: 24px; line-height: 24px;
} }
.line-20 P{ .line-24 p{
margin-bottom:0; margin-bottom:0;
} }
.v-middle{
vertical-align: middle;
}

Loading…
Cancel
Save