dev_forum
SylorHuang 6 years ago
parent bf2f8743aa
commit f4602d1d5c

@ -332,7 +332,6 @@ textarea{
margin-top:-2px; margin-top:-2px;
} }
.ex-scores{ .ex-scores{
min-height: 100%;
height: auto ; height: auto ;
} }

@ -182,7 +182,7 @@
<% if q_type == 0 %> <% if q_type == 0 %>
<% q.exercise_choices.each do |s| %> <% q.exercise_choices.each do |s| %>
<% check_answer = (user_answer.present? && (s.id == user_answer.first.exercise_choice_id)) ? "choose-answer" : '' %> <% check_answer = (user_answer.present? && (s.id == user_answer.first.exercise_choice_id)) ? "choose-answer" : '' %>
<div class="pbt10 main-choice"> <div class="pbt10 clearfix main-choice">
<span class="choose-radio <%= check_answer %> pull-left mt10"></span> <span class="choose-radio <%= check_answer %> pull-left mt10"></span>
<span class="inline-block pull-left ml10 choice-text mt-2"><%= to_markdown(s.choice_text,@request_url) %></span> <span class="inline-block pull-left ml10 choice-text mt-2"><%= to_markdown(s.choice_text,@request_url) %></span>
</div> </div>

Loading…
Cancel
Save