Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-10457

Resetting additional padding added by Bootstrap

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    Description

      While Colibri skin used a reset.css to normalise user agent stylesheet, Bootstrap is using normalize.css https://github.com/necolas/normalize.css/blob/master/normalize.css

      There are some differences between the two, one of them being the padding reset for 'ol' and 'ul' elements.

      Since I don't want to force the reset on the default elements, we will need to explicitly add the 'padding: 0' rule to the applications that are using the ol/ul structure for display.

      Attachments

        1. after.png
          45 kB
          Ecaterina Moraru (Valica)
        2. padding.png
          54 kB
          Ecaterina Moraru (Valica)

        Activity

          People

            evalica Ecaterina Moraru (Valica)
            evalica Ecaterina Moraru (Valica)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: