Skip to content

[v4] space-y-52 prose behave differently in TW4 vs. TW3 #374

Open
@tordans

Description

What version of @tailwindcss/typography are you using?

see https://play.tailwindcss.com/dXf3WCy385

What version of Node.js are you using?

see https://play.tailwindcss.com/dXf3WCy385

What browser are you using?

Chrome

What operating system are you using?

MacOS

Reproduction repository

https://play.tailwindcss.com/dXf3WCy385 – switching between v4 and v3 shows the difference

Describe your issue

In v3 the space-y-* added space even with prose present. In v4 those spaces are not there anymore.

<ul class="space-y-52 prose">
  <li>Line 1</li>
  <li>Line 2</li>
</ul>

V3

Image

V4

Image

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions