Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-42953

main-region header blocks style broken in my page when edit mode is activated

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE, MOODLE_28_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE, MOODLE_27_STABLE
    • Pull from Repository:
    • Workaround:
      Hide

      None.

      Show
      None.
    • Testing Instructions:
      Hide
      • As admin, select a theme using background-image for the header (Like Splash)
      • Go to my page and click on "Customise this page"
      • The blocks in the middle should not have a small image background like they did before (like the screenshot)
      Show
      As admin, select a theme using background-image for the header (Like Splash) Go to my page and click on "Customise this page" The blocks in the middle should not have a small image background like they did before (like the screenshot)

      Description

      The problem come from the class "block-region" is added in the "#region-content" div only when the edit mode is activated in "my page".

      That was not the case in the past. This is broke the display of all theme but is more visible in some themes.

      To reproduce:

      • As admin, select a theme using background-image for the header (Like Splash)
      • Go to my page and click on "Customise this page"
      • The blocks in the middle will be stylized like the ones on the side who is wrong

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              phalacee Jason Fowler
              Reporter:
              leblangi Gilles-Philippe Leblanc
              Integrator:
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Tester:
              Frédéric Massart Frédéric Massart
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Huong Nguyen, Bas Brands, Mathew May
              Votes:
              6 Vote for this issue
              Watchers:
              13 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                14/Jul/14