Skip to content

classes like "lg:ms-4" and "lg:ps-4" not working in dev mode on a brand new nextjs project #19050

@DevBasem

Description

@DevBasem

Nextjs: 15.5.4
Tailwind 4

issue description
as the title says, logical tailwind classes doesn't work with breakpoint utilities this only happens in dev mode, in production the classes work fine, is there any fix or work around for this.

reproduction
setup a new Nextjs project and try out in the home page using the app router

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions