From 5562ab20eafeb98ede3bf61d99785d1a8f3609f5 Mon Sep 17 00:00:00 2001 From: Tim Hunt Date: Wed, 9 Oct 2013 18:18:44 +0100 Subject: [PATCH] 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. --- question/type/multichoice/styles.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/question/type/multichoice/styles.css b/question/type/multichoice/styles.css index 3e6955ab4c6..7c8ab43b413 100644 --- a/question/type/multichoice/styles.css +++ b/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
  • 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;