Skip to content

Commit 2b0d111

Browse files
committed
stop the menu mode question menu from overflowing horizontally
1 parent 7ff4aad commit 2b0d111

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

themes/default/files/resources/exam.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -744,6 +744,7 @@ input.jme {
744744
#question-chooser {
745745
margin: 1em auto;
746746
width: 30em;
747+
max-width: 100%;
747748
}
748749
#question-chooser th {
749750
border-top: 0;
@@ -844,8 +845,12 @@ input.jme {
844845
justify-content: center;
845846
}
846847

848+
#infoDisplay > #menu {
849+
max-width: 100svw;
850+
}
851+
847852
#infoDisplay > #menu > .intro {
848-
margin-bottom: calc(5 * var(--spacing));
853+
margin: 0 var(--spacing) calc(5 * var(--spacing)) var(--spacing);
849854
}
850855

851856
#end-name {

0 commit comments

Comments
 (0)