From 40357a1976f8eb9a06ade5b8cbe688d38b0f8e24 Mon Sep 17 00:00:00 2001 From: Bas Brands Date: Thu, 17 Mar 2022 10:23:32 +0100 Subject: [PATCH] MDl-74031 mod_assign: limited pagewidth for view action --- mod/assign/locallib.php | 1 + 1 file changed, 1 insertion(+) diff --git a/mod/assign/locallib.php b/mod/assign/locallib.php index 4ceb2464f7b..be82540ebf2 100644 --- a/mod/assign/locallib.php +++ b/mod/assign/locallib.php @@ -684,6 +684,7 @@ class assign { } else if ($action == 'fixrescalednullgrades') { $o .= $this->view_fix_rescaled_null_grades(); } else { + $PAGE->add_body_class('limitedwidth'); $o .= $this->view_submission_page(); }