Uploaded image for project: 'Planet4'
  1. Planet4
  2. PLANET-5857

Weird line breaks with HTML tags in lists and paragraphs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Merged
    • Icon: Should have Should have
    • None
    • None
    • 2
    • Styling/Theme
    • Sprint #156, Sprint #157

      stduerre found a strange rendering bug that adds a line break after or before strong tags. It only happens in Chrome, not Firefox, also only for certain screen sizes. Here's a test page (you'll need to resize it until you see it)

      Adding

      white-space: break-spaces;

       to the ".page-template ul, .post-content ul" selector should solve the issue, you can read more about it here

       

        1. linebreak-bold.png
          57 kB
          Maud Leray
        2. Screenshot 2021-03-03 at 08.54.04.png
          34 kB
          Kelli Tolen
        3. Screenshot 2021-03-03 at 08.54.29.png
          38 kB
          Kelli Tolen
        4. Screenshot 2021-03-03 at 08.55.30.png
          43 kB
          Kelli Tolen
        5. Screenshot 2021-03-03 at 08.57.01.png
          32 kB
          Kelli Tolen

            mleray Maud Leray
            mleray Maud Leray
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: