Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 2f4fceec28c8ba8f0b7b297473c7bd917e1389b2 1 parent 5c74090
@timhunt timhunt authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 question/type/multichoice/styles.css
View
8 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;
Please sign in to comment.
Something went wrong with that request. Please try again.