Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-38856 META: Issues around Bootstrapbase and Clean theme
  3. MDL-39196

Error message on login should be a span, not a block

    XMLWordPrintable

Details

    • Sub-task
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.5
    • 2.5
    • HTML and CSS
    • MOODLE_25_STABLE
    • MOODLE_25_STABLE
    • wip-MDL-39196-master
    • Hide

      Go to login page while using Simple theme.

      Attemp to log in with an incorrect password.

      The error message should appear in the standard error shade of red, but it should not be in a red/pink alert box.

      Show
      Go to login page while using Simple theme. Attemp to log in with an incorrect password. The error message should appear in the standard error shade of red, but it should not be in a red/pink alert box.

    Description

      The error messages on login are styled as an alert (a colored box), but is currently wrapped in a span, which is display: inline by default. This causes visual problems when the text gets long enough (or the screen narrow enough) to cause line wrapping.

      One option is to set display: block on the span but then you need to constrain it's width.

      The other option is to remove the alert styling and just have red text.

      For the short term I'd probably favour the latter.

      Attachments

        Activity

          People

            bawjaws David Scotson
            bawjaws David Scotson
            Amy Groshek Amy Groshek
            Sam Hemelryk Sam Hemelryk
            Sam Hemelryk Sam Hemelryk
            Amy Groshek, David Scotson, David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              14/May/13