mirror of
https://github.com/moodle/moodle.git
synced 2025-03-22 00:20:37 +01:00
When you add a module or otherwise cause a Moodle dialogue to appear, this enables the 'lock scroll' feature (the scrollbar disappears). On some browsers this causes the width of the viewport to change, which can cause centered/right-aligned theme elements to move distractingly. This change temporarily sets body max-width while lock scroll is active.