Skip to content

Commit 42f6832

Browse files
committed
main content tries to be as wide as possible
On wide screens, the main container had a max-width set but not a width, so it would be narrow when the question content is narrow. Feedback messages could it make it wider, which leads to things moving around unexpectedly. This changes the container to be as wide as it can, up to the limit of 1170px or the viewport width, whichever is less.
1 parent 0ffaa76 commit 42f6832

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

themes/default/files/resources/exam.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,8 @@ body.navigate-menu.show-nav #everything > #topNav {
240240
@media screen {
241241
#everything > main > #questionContainer,
242242
#everything > main > #infoDisplay {
243-
max-width: 1170px;
243+
width: 1170px;
244+
max-width: 100svw;
244245
max-height: 100%;
245246
}
246247
#everything > main > #questionContainer {

0 commit comments

Comments
 (0)