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

Fix sticky footer in Firefox

    XMLWordPrintable

Details

    • MOODLE_402_STABLE
    • MOODLE_402_STABLE
    • MDL-77278-master
    • Hide
      1. Open Firefox
      2. Login as admin
      3. Access a course
      4. Turn edit on
      5. Check the sticky footer is not visible at the bottom of the page
      6. Click on the "Bulk edit" button near the course title
      7. Check the sticky footer is visible at the bottom of the page
      8. Click the X icon in the sticky footer (Close bulk edit)
      9. Check the sticky footer is not visible at the bottom of the page
      Show
      Open Firefox Login as admin Access a course Turn edit on Check the sticky footer is not visible at the bottom of the page Click on the "Bulk edit" button near the course title Check the sticky footer is visible at the bottom of the page Click the X icon in the sticky footer (Close bulk edit) Check the sticky footer is not visible at the bottom of the page
    • 1
    • HQ 2023 Sprint i1.1 Moppies

    Description

      It looks like the new sticky footer height introduced in MDL-76357 is not working as expected in firefox.

      The errors are related to the clamp CSS functions that define the sticky footer height depending on the font size.

      $stickyfooter-height: clamp(96px, calc(#{$font-size-base} * 3), calc(#{$font-size-base} * 3)) !default; 

      This clamp calculation can be replaced by:

      $stickyfooter-height: calc(max(96px, calc(#{$font-size-base} * 3))) !default; 

      Attachments

        Activity

          People

            tusefomal Ferran Recio
            tusefomal Ferran Recio
            Paul Holden Paul Holden
            Andrew Lyons Andrew Lyons
            Kim Jared Lucas Kim Jared Lucas
            Amaia Anabitarte, Carlos Escobedo, Laurent David, Mikel Martín Corrales, Sabina Abellan, Sara Arjona (@sarjona), Huong Nguyen, Bas Brands, Mathew May, Amaia Anabitarte, Carlos Escobedo, Laurent David, Mikel Martín Corrales, Sabina Abellan, Sara Arjona (@sarjona)
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              24/Apr/23

              Time Tracking

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