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

Upon question editing, "Preview" link after the magnifying glass icon has a leading space

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.3.4, 3.4.1, 3.5
    • Fix Version/s: 3.3.5, 3.4.2
    • Component/s: Questions
    • Labels:
    • Testing Instructions:
      Hide
      • Log in as admin.
      • Go to a course, or create a new one and go to the course
      • Click cog icon (the course admin menu) > More... and then click Question bank link.
      • On question bank, click Create a new question... button, select Essay and click add.
      • Fill the form and click the Save changes and continue editing button.
      • When the question editing page saves and reloads there's the link with the magnifying glass icon and "Preview" text near the bottom of the form.
      • Hover the "Preview" and cross-check it has no leading (hovering, too) blank space.
      Show
      Log in as admin. Go to a course, or create a new one and go to the course Click cog icon (the course admin menu) > More... and then click Question bank link. On question bank, click Create a new question... button, select Essay and click add. Fill the form and click the Save changes and continue editing button. When the question editing page saves and reloads there's the link with the magnifying glass icon and "Preview" text near the bottom of the form. Hover the "Preview" and cross-check it has no leading (hovering, too) blank space.
    • Affected Branches:
      MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE
    • Fixed Branches:
      MOODLE_33_STABLE, MOODLE_34_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-61250-master

      Description

      When you create or edit a question in question bank, the "Preview" link has a leading space which looks unpretty.

      See those screengrabs:

       

      WHAT YOU EXPECT:

      Show the "Preview" Link without leading space

        Attachments

        1. image-2018-01-31-09-03-45-024.png
          27 kB
          Janelle Barcega
        2. image-2018-01-31-09-04-17-047.png
          33 kB
          Janelle Barcega
        3. qbank_preview_boost.png
          31 kB
          Luca Bösch
        4. qbank_preview_clean.png
          30 kB
          Luca Bösch

          Activity

            People

            Assignee:
            lucaboesch Luca Bösch
            Reporter:
            lucaboesch Luca Bösch
            Peer reviewer:
            Simey Lameze
            Integrator:
            Andrew Nicols
            Tester:
            Janelle Barcega
            Participants:
            Component watchers:
            Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              19/Mar/18