From baab74b9d339aa9bb81e6b50e31979d8d8a9fc10 Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Wed, 1 Nov 2017 10:22:32 +0800 Subject: [PATCH] MDL-52037 theme: Correct question feedback width This relates to the cloze question answer when hovered. --- theme/boost/scss/moodle/question.scss | 4 ++++ theme/bootstrapbase/less/moodle/question.less | 2 ++ theme/bootstrapbase/style/moodle.css | 2 ++ 3 files changed, 8 insertions(+) diff --git a/theme/boost/scss/moodle/question.scss b/theme/boost/scss/moodle/question.scss index a28ab91c5bc..e92f97a6bf7 100644 --- a/theme/boost/scss/moodle/question.scss +++ b/theme/boost/scss/moodle/question.scss @@ -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] { diff --git a/theme/bootstrapbase/less/moodle/question.less b/theme/bootstrapbase/less/moodle/question.less index 603ba09df75..a6bb21cf8a3 100644 --- a/theme/bootstrapbase/less/moodle/question.less +++ b/theme/bootstrapbase/less/moodle/question.less @@ -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; diff --git a/theme/bootstrapbase/style/moodle.css b/theme/bootstrapbase/style/moodle.css index c0a30f0960b..77fc4f353be 100644 --- a/theme/bootstrapbase/style/moodle.css +++ b/theme/bootstrapbase/style/moodle.css @@ -6965,6 +6965,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;