Skip to content

Class ml-auto no longer working with 3.4.5+ #14013

@ilkon

Description

@ilkon

With the release of version 3.4.5, the class ml-auto stopped working and is no longer recognized as CSS class.

For example I have html from this example (simplified):

<div class="flex items-center gap-x-6">
  <div>Block 1</div>
  <div class="ml-auto">Block 2</div>
</div>

The CSS class ml-auto is not recognized by tailwind and not added to the styles.css, so the last block is not aligned to the right.

What version of Tailwind CSS are you using?

v3.4.5, v3.4.6

What build tool (or framework if it abstracts the build tool) are you using?

Standalone CLI that comes with Tailwindcss-rails gem: tailwindcss-rails (2.6.3-x86_64-linux)

What browser are you using?

Tested in the latest Chrome and Firefox

What operating system are you using?

Linux (Debian 12)

Metadata

Metadata

Assignees

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