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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.7.5, 3.8.2
    • 3.7.6, 3.8.3
    • 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.

    Description

      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"

      Attachments

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

        Activity

          People

            lucaboesch Luca Bösch
            lucaboesch Luca Bösch
            Bas Brands Bas Brands
            Jake Dallimore Jake Dallimore
            Anna Carissa Sadia Anna Carissa Sadia
            Amaia Anabitarte, Carlos Escobedo, Laurent David, Mikel Martín Corrales, Sabina Abellan, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11/May/20

              Time Tracking

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