Skip to content

[v4] Transitions with active pseudo class increases unexpected margin in Safari when combined with a font size class #15196

@plemnoooooo

Description

@plemnoooooo

What version of Tailwind CSS are you using?

For example: v4.0.0@beta-2

What browser are you using?

Safari

What operating system are you using?

iOS

Reproduction URL

https://play.tailwindcss.com/9WNabyZoZg

Describe your issue

When pressing and holding onto a button that transitions from normal styles to active: pseudo-class styles with a font size class (like text-xl) in Safari, it creates an unexpected vertical margin increase, and if padding styles are included, it increases padding too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions