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

Refactor font utility classes renamed in Bootstrap 5

XMLWordPrintable

    • 2
    • HQ 2024 Sprint I4.1 Moppies

      In BS5 some font utility classes have been renamed

      • .text-monospace
      • .font-weight-*
      • .font-style-*

      Generate the needed SCSS code in bs5bridge.scss (so we can start using BS5 syntax) and refactor all the occurrences in the codebase.

      https://getbootstrap.com/docs/5.2/migration/:

      Renamed .text-monospace to .font-monospace.

      Renamed .font-weight-* utilities as .fw-* for brevity and consistency.

      Renamed .font-style-* utilities as .fst-* for brevity and consistency.

      This issue should also be included in the BS4 compatibility layer in MDL-80519

        1. MDL-81821.png
          MDL-81821.png
          580 kB
        2. screenshot-2.png
          screenshot-2.png
          56 kB
        3. screenshot-3.png
          screenshot-3.png
          62 kB

            mikelmartíncorrales Mikel Martín Corrales
            mikelmartíncorrales Mikel Martín Corrales
            Carlos Escobedo Carlos Escobedo
            Ferran Recio Ferran Recio
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 6 hours, 44 minutes
                6h 44m

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