From 1ba30a0fca64bbdb99a0fc1d0d305f80a6ec56bf Mon Sep 17 00:00:00 2001 From: Gareth J Barnard Date: Wed, 29 Jul 2015 17:38:25 +0100 Subject: [PATCH] Fix 'Edit quiz page displays oddly'. --- Readme.md | 1 + styles.css | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Readme.md b/Readme.md index 8e99530a..2c637f15 100644 --- a/Readme.md +++ b/Readme.md @@ -248,6 +248,7 @@ Version 2.9.1.3 1. Removed MyMobile theme support as theme has passed away. 2. Fix CONTRIB-5817. 3. Update readme. + 4. Fix 'Edit quiz page displays oddly' - https://moodle.org/mod/forum/discuss.php?d=317476. Version 2.9.1.2. 1. Fixed coding fault when restoring a course from backup file. diff --git a/styles.css b/styles.css index 58c83672..fe621087 100644 --- a/styles.css +++ b/styles.css @@ -643,24 +643,24 @@ body.format-topcoll .course-content ul.ctopics li.section .summary.summaryalways padding-top: 10px; } -body.format-topcoll.editing .section .activity .contentwithoutlink, body.format-topcoll.editing .section .activity .activityinstance { +body.format-topcoll.editing ul.ctopics .section .activity .contentwithoutlink, body.format-topcoll.editing ul.ctopics .section .activity .activityinstance { padding-right: 0px; display: inline; } -body.format-topcoll.editing.dir-rtl .section .activity .contentwithoutlink, body.format-topcoll.editing.dir-rtl .section .activity .activityinstance { +body.format-topcoll.editing.dir-rtl ul.ctopics .section .activity .contentwithoutlink, body.format-topcoll.editing.dir-rtl ul.ctopics .section .activity .activityinstance { padding-left: 0px; } -body.format-topcoll.editing .section .activity .actions { +body.format-topcoll.editing ul.ctopics .section .activity .actions { position: relative; } -body.format-topcoll.editing #region-main .moodle-actionmenu ul.menubar { +body.format-topcoll.editing #region-main ul.ctopics .moodle-actionmenu ul.menubar { display: none; } -body.format-topcoll.editing.jsenabled #region-main .moodle-actionmenu[data-enhance] ul.menubar { +body.format-topcoll.editing.jsenabled #region-main ul.ctopics .moodle-actionmenu[data-enhance] ul.menubar { display: inline-block; }