From 9a5abe3a9fbcf71b47be6833339978c1625395fe Mon Sep 17 00:00:00 2001 From: Matheus Zych Date: Thu, 12 Mar 2026 08:03:33 +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 | 4 ++++ templates/default/delos.css | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/templates/default/070-components/legacy/Modules/_component_test.scss b/templates/default/070-components/legacy/Modules/_component_test.scss index ddb96549b42e..4b3953ae158d 100755 --- a/templates/default/070-components/legacy/Modules/_component_test.scss +++ b/templates/default/070-components/legacy/Modules/_component_test.scss @@ -391,3 +391,7 @@ $cons-scoring-bottom-fade-height: $il-padding-xxxlarge-vertical * 2; } } } + +.ilc_qanswer_Answer.ilc_answers.answers.ilAssClozeTest div input[type=text] { + width: 100%; +} diff --git a/templates/default/delos.css b/templates/default/delos.css index 51a0ae539574..e4d81d9da092 100644 --- a/templates/default/delos.css +++ b/templates/default/delos.css @@ -16930,6 +16930,10 @@ div.ilc_Page.readonly textarea[disabled] { height: 50vh; } +.ilc_qanswer_Answer.ilc_answers.answers.ilAssClozeTest div input[type=text] { + width: 100%; +} + /* Modules/Wiki */ a.ilWikiPageMissing:link, a.ilWikiPageMissing:visited { color: #d00;