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

nav-pills and nav-tabs are overriden at small sizes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.9.9
    • Fix Version/s: None
    • Component/s: HTML and CSS, Themes
    • Labels:
      None
    • Affected Branches:
      MOODLE_39_STABLE

      Description

      The standard Bootstrap components .nav-pills and .nav-tabs are overriden at small sizes.

      It would be better if deviations from standard Bootstrap had a specific class added to them so that they were opt-in and people who had used the standard classes in 3rd party code or content wouldn't be suprised by style changes they weren't expecting.

      If you paste any of the examples from the following page, particularly the nav-tabs and nav-pills ones:

      https://getbootstrap.com/docs/4.5/components/navs/

      Into a moodle, you'll see they get styled at small screen widths:

      The change may have been introduced as part of MDL-68299 theme_boost: theme updates for accessible zoom

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            bawjaws David Scotson
            Participants:
            Component watchers:
            Amy Groshek, David Scotson, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona), Huong Nguyen, Bas Brands, Mathew May
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: