From aa2b1ab96683ccedfc29d12a2ac66c2b86e6255d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20V=C3=B6geli?= Date: Thu, 23 Oct 2025 17:22:31 +0200 Subject: [PATCH] MDL-86430 theme_boost: Fix display of scale grading when title too long --- public/theme/boost/scss/moodle/forms.scss | 4 ++++ public/theme/boost/style/moodle.css | 4 ++++ public/theme/classic/style/moodle.css | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/public/theme/boost/scss/moodle/forms.scss b/public/theme/boost/scss/moodle/forms.scss index 86b9870645b..a77a483e6ed 100644 --- a/public/theme/boost/scss/moodle/forms.scss +++ b/public/theme/boost/scss/moodle/forms.scss @@ -406,6 +406,10 @@ textarea[data-auto-rows] { padding-bottom: $input-padding-y; } +[data-fieldtype="modgrade"] .form-select { + width: 100%; +} + // We dont' use the mixin because it's expensive. [data-fieldtype="modgrade"] { background-color: $card-bg; diff --git a/public/theme/boost/style/moodle.css b/public/theme/boost/style/moodle.css index 452a0e5f0cc..73a1488e6ad 100644 --- a/public/theme/boost/style/moodle.css +++ b/public/theme/boost/style/moodle.css @@ -35281,6 +35281,10 @@ textarea[data-auto-rows] { padding-bottom: 0.375rem; } +[data-fieldtype=modgrade] .form-select { + width: 100%; +} + [data-fieldtype=modgrade] { background-color: var(--bs-body-bg); border-radius: var(--bs-border-radius); diff --git a/public/theme/classic/style/moodle.css b/public/theme/classic/style/moodle.css index 80de42a0435..e28ad4c2183 100644 --- a/public/theme/classic/style/moodle.css +++ b/public/theme/classic/style/moodle.css @@ -35281,6 +35281,10 @@ textarea[data-auto-rows] { padding-bottom: 0.375rem; } +[data-fieldtype=modgrade] .form-select { + width: 100%; +} + [data-fieldtype=modgrade] { background-color: var(--bs-body-bg); border-radius: var(--bs-border-radius);