From 2b0d111c1174df271e7a821229dd31c86e5e3094 Mon Sep 17 00:00:00 2001 From: Christian Lawson-Perfect Date: Thu, 26 Sep 2024 19:52:34 +0100 Subject: [PATCH] stop the menu mode question menu from overflowing horizontally --- themes/default/files/resources/exam.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/themes/default/files/resources/exam.css b/themes/default/files/resources/exam.css index c1ffe639f..149a79a7f 100644 --- a/themes/default/files/resources/exam.css +++ b/themes/default/files/resources/exam.css @@ -744,6 +744,7 @@ input.jme { #question-chooser { margin: 1em auto; width: 30em; + max-width: 100%; } #question-chooser th { border-top: 0; @@ -844,8 +845,12 @@ input.jme { justify-content: center; } +#infoDisplay > #menu { + max-width: 100svw; +} + #infoDisplay > #menu > .intro { - margin-bottom: calc(5 * var(--spacing)); + margin: 0 var(--spacing) calc(5 * var(--spacing)) var(--spacing); } #end-name {