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

Review <code> styling, specially when used over non-white backgrounds like notifications

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.4.3, 3.5, 3.6
    • Fix Version/s: None
    • Component/s: HTML and CSS, Themes
    • Labels:
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE

      Description

      Discovered while testing MDL-51080.

      It seems that the <code> tag styling adds some white background, specially with clean and pre 3.5 boost. And it looks not nice at all, specially when it's printed over a non-white background (the issue was detected using it in notifications.

      Instead in 3.5 Boost, the background is gone.

      It would be great if no background is imposed, so it looks great over any color.

      Ciao

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                stronk7 Eloy Lafuente (stronk7)
                Participants:
                Component watchers:
                Amy Groshek, David Scotson, Bas Brands, Ryan Wyllie, Bas Brands, Ryan Wyllie
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: