Skip to content

Commit

Permalink
MDL-42232 Multiple choice question choice alignment issue
Browse files Browse the repository at this point in the history
The problem was with the alignment of:
* tables inside the choices.
* Lists inside the choices.
* The specific feedback, when it spanned mulitple lines.

The problem was introduced by MDL-39420.
  • Loading branch information
timhunt committed Oct 11, 2013
1 parent f8eff10 commit 5562ab2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions question/type/multichoice/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@
padding: 0.3em 0 0.3em 25px;
text-indent: -25px;
}
.que.multichoice .answer div.r0 label,
.que.multichoice .answer div.r1 label,
.que.multichoice .answer div.r0 div.specificfeedback,
.que.multichoice .answer div.r1 div.specificfeedback {
/* In Chrome and IE, the text-indent above is applied to any embedded table
cells or <li>s, which screws up the intended layout. This fixes it again. */
text-indent: 0;
}
.que.multichoice .answer div.r0 input,
.que.multichoice .answer div.r1 input {
margin: 0 5px;
Expand Down

0 comments on commit 5562ab2

Please sign in to comment.