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

Template in theme/classic using CSS class that was removed in Bootstrap 4

XMLWordPrintable

    • MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE
    • MOODLE_310_STABLE, MOODLE_39_STABLE
    • MDL-70067-master_theme_classic
    • Hide

      Before Patch:

      1. Set the site theme to 'Classic'
      2. Navigate to your user preferences, then click 'Edit Profile'
      3. On the edit profile page scroll down to the 'Description' field and click on the 'Manage files' button in the Atto editor
      4. See that the 'File manager' only takes up half of the popup window width

      After Patch:

      1. Set the site theme to 'Classic'
      2. Navigate to your user preferences, then click 'Edit Profile'
      3. On the edit profile page scroll down to the 'Description' field and click on the 'Manage files' button in the Atto editor
      4. See that the 'File manager' takes up all of the popup window width
      Show
      Before Patch: Set the site theme to 'Classic' Navigate to your user preferences, then click 'Edit Profile' On the edit profile page scroll down to the 'Description' field and click on the 'Manage files' button in the Atto editor See that the 'File manager' only takes up half of the popup window width After Patch: Set the site theme to 'Classic' Navigate to your user preferences, then click 'Edit Profile' On the edit profile page scroll down to the 'Description' field and click on the 'Manage files' button in the Atto editor See that the 'File manager' takes up all of the popup window width

      Moodle 3.9 uses Bootstrap 4 and the file `theme/classic/templates/contentonly.mustache` is using the class `col-xs-12` which was removed in Bootstrap 4.

      This causes a visual bug on pages where that template is used, the one that I noticed it on was the manage files plugin for the atto editor.

      I've attached a screenshot of the problem.

       

      The file still uses .col-xs-12 in the master branch, so presumably this will affect 3.9 -> 4/master

        1. MDL-70067 310 after.png
          MDL-70067 310 after.png
          26 kB
        2. MDL-70067 310 before.png
          MDL-70067 310 before.png
          25 kB
        3. MDL-70067 39 after.png
          MDL-70067 39 after.png
          32 kB
        4. MDL-70067 master after.png
          MDL-70067 master after.png
          26 kB
        5. MDL-70067 master before.png
          MDL-70067 master before.png
          25 kB
        6. MDL-70076 39 before.png
          MDL-70076 39 before.png
          36 kB
        7. Screenshot from 2020-10-30 11-34-38.png
          Screenshot from 2020-10-30 11-34-38.png
          62 kB

            alexmorris Alexander Morris
            alexmorris Alexander Morris
            Andrew Lyons Andrew Lyons
            Simey Lameze Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 51 minutes
                1h 51m

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