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

Labels create extra margin below content

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Note to tester: The requires activities or resources in either the front page site topic or in a Course page.

      1. Select Standard theme
      2. Enable Editing in either the front page site topic or in a course.
      3. Next add two labels above a list of pre existing activities/resources. The first label should contain only a short title, and the second two or three short paragraphs.
      4. If not already added add another activity below the last label.
      5. Turn editing off and TEST that the first label sits directly above the second label with a small gap between the two.
      6. Test that the last label sits above the list of activities with a gap between equal to the gap between the individual activities.
      7. Change to Clean theme and TEST that the labels look the same again.
      Show
      Note to tester: The requires activities or resources in either the front page site topic or in a Course page. Select Standard theme Enable Editing in either the front page site topic or in a course. Next add two labels above a list of pre existing activities/resources. The first label should contain only a short title, and the second two or three short paragraphs. If not already added add another activity below the last label. Turn editing off and TEST that the first label sits directly above the second label with a small gap between the two. Test that the last label sits above the list of activities with a gap between equal to the gap between the individual activities. Change to Clean theme and TEST that the labels look the same again.
    • Affected Branches:
      MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE

      Description

      Labels force a paragraph wrapper around content which produces a carriage return that may be undesirable and cannot be removed. Deleting these tags when in HTML mode doesn't help; the tags return.

      • Create a new label resource with a single line of text.
      • Create a second label in the same section as the first.
      • Notice the extra space between the first a second labels.

      This can be confirmed another way when editing the label content in an HTML source editor. "<p></p>" wrap around any content that is saved in the WYSIWYG editor.

        Attachments

          Activity

            People

            • Assignee:
              lazydaisy Mary Evans
              Reporter:
              strom@augsburg.edu Eric Strom
              Integrator:
              Sam Hemelryk
              Tester:
              Andrew Nicols
              Participants:
              Component watchers:
              Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón, Adrian Greeve, Mihail Geshoski, Peter Dias, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón
            • Votes:
              3 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/Nov/13