Skip to content

grid-cols arbitrary value not working as expected #12281

@squelix

Description

@squelix

What version of Tailwind CSS are you using?
v3.3.4

What build tool (or framework if it abstracts the build tool) are you using?
Next.js 13.5.6

What version of Node.js are you using?
v16

For example: v16

What browser are you using?
Chrome

What operating system are you using?
macOS

Describe your issue

I have this arbitrary value in className

"grid grid-cols-[repeat(3,_minmax(0,_max-content))]"

It's not generating the good css.

grid-template-columns: repeat(3,minmax(0,max - content));

There is spaces around the dash.

In tailwind v3.3.3 it was working, so I downgrade the version.

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