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

Spacing with extended folder which has a description displayed on course site uneven

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.7.6, 3.8.3
    • 3.7.5, 3.8.2
    • Course
    • MOODLE_37_STABLE, MOODLE_38_STABLE
    • MOODLE_37_STABLE, MOODLE_38_STABLE
    • MDL-68144-master
    • Hide

      Test in Classic and Boost.

      1. Insert a file to a course.
      2. Right as next resource, insert a folder with files, make sure it has a description and "Display description on course page" is checked as well as "Display folder contents" is set to "Inline on a course page".
      3. Turn off editing mode.
      4. Verify the code shows <div class="box generalbox pt-0 pb-3 foldertree"> and <div class="box generalbox pt-0 pb-3 folderbuttons"> and the margins are more narrow.

      Show
      Test in Classic and Boost. Insert a file to a course. Right as next resource, insert a folder with files, make sure it has a description and "Display description on course page" is checked as well as "Display folder contents" is set to "Inline on a course page". Turn off editing mode. Verify the code shows <div class="box generalbox pt-0 pb-3 foldertree"> and <div class="box generalbox pt-0 pb-3 folderbuttons"> and the margins are more narrow.

      If you display an expanded folder with description in your course the surrounding spaces are not looking right.
      As a matter of fact it seems that the description somehow belongs to the previous activity/resource and is really detached from the files contained in the folder.

      To reproduce:

      1. Insert a file to a course.
      2. Right as next resource, insert a folder with files, make sure it has a description and "Display description on course page" is checked as well as "Display folder contents" is set to "Inline on a course page"

        1. MDL-68144-after.png
          MDL-68144-after.png
          71 kB
        2. MDL-68144.png
          MDL-68144.png
          72 kB
        3. MDL-68144_classic.jpg
          MDL-68144_classic.jpg
          79 kB
        4. MDL-68144_boost-1.jpg
          MDL-68144_boost-1.jpg
          54 kB

            lucaboesch Luca Bösch
            lucaboesch Luca Bösch
            Bas Brands Bas Brands
            Jake Dallimore Jake Dallimore
            Anna Carissa Sadia Anna Carissa Sadia
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 50 minutes
                2h 50m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.