From cf9373c4dd5823b1f6bd3c3e7bf09e54628c2275 Mon Sep 17 00:00:00 2001 From: danghieu1407 Date: Thu, 5 Oct 2023 11:06:21 +0700 Subject: [PATCH] MDL-79160 Question: Answer field overflows parent width with large size --- theme/boost/scss/moodle/question.scss | 3 ++- theme/boost/style/moodle.css | 3 ++- theme/classic/style/moodle.css | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/theme/boost/scss/moodle/question.scss b/theme/boost/scss/moodle/question.scss index ef6873bc0fa..9491c025844 100644 --- a/theme/boost/scss/moodle/question.scss +++ b/theme/boost/scss/moodle/question.scss @@ -333,7 +333,8 @@ body.path-question-type { } } -.path-mod-quiz input[size] { +.que input[size], +.que textarea[cols] { width: auto; max-width: 100%; } diff --git a/theme/boost/style/moodle.css b/theme/boost/style/moodle.css index d86810e98e6..8995e2f65fb 100644 --- a/theme/boost/style/moodle.css +++ b/theme/boost/style/moodle.css @@ -21249,7 +21249,8 @@ body.path-question-type .form-group .col-form-label.sr-only:not(legend):not([for max-width: inherit; } -.path-mod-quiz input[size] { +.que input[size], +.que textarea[cols] { width: auto; max-width: 100%; } diff --git a/theme/classic/style/moodle.css b/theme/classic/style/moodle.css index 46086ea060a..79e1405c0cb 100644 --- a/theme/classic/style/moodle.css +++ b/theme/classic/style/moodle.css @@ -21249,7 +21249,8 @@ body.path-question-type .form-group .col-form-label.sr-only:not(legend):not([for max-width: inherit; } -.path-mod-quiz input[size] { +.que input[size], +.que textarea[cols] { width: auto; max-width: 100%; }