Browse files

MDL-42232 Multiple choice question choice alignment issue

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...
1 parent 945aa97 commit cf2fb7579b2ad51bb85c0afe9b4a1050c77f72dd @timhunt timhunt committed Oct 9, 2013
Showing with 8 additions and 0 deletions.
  1. +8 −0 question/type/multichoice/styles.css
@@ -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;

0 comments on commit cf2fb75

Please sign in to comment.