From cc076757a47995f213b2dcbe5b0c63d32f5f8b9b Mon Sep 17 00:00:00 2001 From: Matheus Zych Date: Thu, 12 Mar 2026 07:48:10 +0100 Subject: [PATCH] Test: Full Width for Cloze Inputs in Scoring See: https://mantis.ilias.de/view.php?id=47413 Manual scoring cloze gaps render narrow text fields by default. Added a stylesheet rule for `.ilAssClozeTest` answer areas so `input[type=text]` spans the full row width, in both `_component_test.scss` and compiled `delos.css`. --- .../070-components/legacy/Modules/_component_test.scss | 6 +++++- templates/default/delos.css | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/templates/default/070-components/legacy/Modules/_component_test.scss b/templates/default/070-components/legacy/Modules/_component_test.scss index 921fa7b0a457..9e6fc28ba4b6 100755 --- a/templates/default/070-components/legacy/Modules/_component_test.scss +++ b/templates/default/070-components/legacy/Modules/_component_test.scss @@ -120,4 +120,8 @@ $il-test-working-time-font-weight: $il-font-weight-bold; #tst_pass_details_overview tr { scroll-margin-top: 30px; -} \ No newline at end of file +} + +.ilc_qanswer_Answer.ilc_answers.answers.ilAssClozeTest p input[type=text] { + width: 100%; +} diff --git a/templates/default/delos.css b/templates/default/delos.css index bcfd5d22a6f3..03bc2d04ad07 100644 --- a/templates/default/delos.css +++ b/templates/default/delos.css @@ -14806,6 +14806,10 @@ div.ilc_Page.readonly textarea[disabled] { scroll-margin-top: 30px; } +.ilc_qanswer_Answer.ilc_answers.answers.ilAssClozeTest p input[type=text] { + width: 100%; +} + /* Modules/Wiki */ a.ilWikiPageMissing:link, a.ilWikiPageMissing:visited { color: #d00;