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

Boost styles break H5P styles when scsspre and / or scss settings are used

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a bug
    • Icon: Minor Minor
    • None
    • 4.2, 4.3
    • H5P, Themes
    • MOODLE_402_STABLE, MOODLE_403_STABLE
    • Hide

      Add the following SCSS to the 'scss' theme setting:

      .h5peditor {
          *,
          *::before,
          *::after {
              box-sizing: content-box;
          }

      Show
      Add the following SCSS to the 'scss' theme setting: .h5peditor {     *,     *::before,     *::after {         box-sizing: content-box;     } } 
    • Hide
      1. Download demo interactive video from https://h5p.org/interactive-video - using 'Reuse' button.
      2. In a course, create a H5P module with the file.
      3. In the Boost theme 'scsspre' setting under the 'Advanced settings' tab, enter arbitrary SCSS definition, like '$moodle-mc-moodleface: #F27F22 !default;'.
      4. View the H5P module you created and click on 'Edit H5P content'.
      5. Observe that the 'Add interaction' (step 2) icons on the menu bar are within their boxes.
      Show
      Download demo interactive video from https://h5p.org/interactive-video - using 'Reuse' button. In a course, create a H5P module with the file. In the Boost theme 'scsspre' setting under the 'Advanced settings' tab, enter arbitrary SCSS definition, like '$moodle-mc-moodleface: #F27F22 !default;'. View the H5P module you created and click on 'Edit H5P content'. Observe that the 'Add interaction' (step 2) icons on the menu bar are within their boxes.

      This bug has been reported in this French-speaking forum discussion and confirmed by Gareth(https://moodle.org/user/view.php?id=442195) in this post.

      It appears to be a regression caused by fixing bug MDL-77049.

            Unassigned Unassigned
            rezeau Joseph Rézeau
            Votes:
            4 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.