diff --git a/course/yui/modchooser/modchooser.js b/course/yui/modchooser/modchooser.js index 919110212c1..5d95a025a85 100644 --- a/course/yui/modchooser/modchooser.js +++ b/course/yui/modchooser/modchooser.js @@ -27,6 +27,7 @@ YUI.add('moodle-course-modchooser', function(Y) { width: '540px' }; this.setup_chooser_dialogue(dialogue, header, params); + this.overlay.get('boundingBox').addClass('modchooser'); this.jumplink = this.container.one('#jump'); diff --git a/theme/base/style/core.css b/theme/base/style/core.css index 16cbae93b9a..ceb387d10c2 100644 --- a/theme/base/style/core.css +++ b/theme/base/style/core.css @@ -920,6 +920,10 @@ sup {vertical-align: super;} display:none; } +.modchooser .moodle-dialogue-hd { + text-align: center; +} + /* Center the submit buttons within the area */ #choosercontainer #chooseform .submitbuttons { margin: 0.7em 0;