MDL-52037 theme: Correct question feedback width
authorAndrew Nicols <andrew@nicols.co.uk>
Wed, 1 Nov 2017 02:22:32 +0000 (10:22 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Wed, 1 Nov 2017 03:12:16 +0000 (11:12 +0800)
This relates to the cloze question answer when hovered.

theme/boost/scss/moodle/question.scss
theme/bootstrapbase/less/moodle/question.less
theme/bootstrapbase/style/moodle.css

index a28ab91..e92f97a 100644 (file)
@@ -306,6 +306,10 @@ body.path-question-type {
 
 .que.multianswer .formulation .yui3-widget-positioned {
     box-sizing: content-box;
+    .feedbackspan {
+        width: inherit;
+        max-width: inherit;
+    }
 }
 
 .path-mod-quiz input[size] {
index bdf5401..d7ecf3f 100644 (file)
@@ -240,6 +240,8 @@ body.path-question-type .fitem_fgroup .accesshide {
 .que.multianswer .formulation .yui3-widget-positioned .feedbackspan {
     box-sizing: content-box;
     padding-bottom: 0;
+    max-width: inherit;
+    width: inherit;
 }
 .path-mod-quiz input[size] {
     width: auto;
index f78e1eb..c7ce561 100644 (file)
@@ -9307,6 +9307,8 @@ body.path-question-type .fitem_fgroup .accesshide {
 .que.multianswer .formulation .yui3-widget-positioned .feedbackspan {
   box-sizing: content-box;
   padding-bottom: 0;
+  max-width: inherit;
+  width: inherit;
 }
 .path-mod-quiz input[size] {
   width: auto;