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

Boost theme does not have a default styling for blockquote element

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.5.1, 3.5.6, 3.6.4, 3.7
    • None
    • Themes
    • MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE

    Description

      When using Markdown format, one can easily end up with texts rendered as

      <blockquote>
          <p>Something</p>
      </blockquote>
      

      It appears that Boost does not have any default styling for such blocks, the Clean theme does have it.

      On our hq.moodle.com we have the following custom SCSS added:

      blockquote {
        background: #f9f9f9;
        border-left: 10px solid #ccc;
        margin: 1.5em 10px;
        padding: 0.5em 10px;
        quotes: "\201C""\201D""\2018""\2019";
      }
      blockquote:before {
        color: #ccc;
        content: open-quote;
        font-size: 4em;
        line-height: 0.1em;
        margin-right: 0.25em;
        vertical-align: -0.4em;
      }
      blockquote p {
        display: inline;
      }
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mudrd8mz David Mudrák (@mudrd8mz)
              Huong Nguyen, Bas Brands, Mathew May
              Votes:
              4 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated: