Skip to content

Tailwind CSSv3.0.23+ doesn't properly support variants #16

@benlei

Description

@benlei

What version of @tailwindcss/line-clamp are you using?

v0.3.1

What version of Node.js are you using?

v16.13.0

What browser are you using?

Chrome

What operating system are you using?

macOS

Reproduction repository

N/A

Describe your issue

Offending issue starts at https://github.com/tailwindlabs/tailwindcss-line-clamp/blob/master/src/index.js#L10

But if you check https://tailwindcss.com/docs/plugins (v3.0.23)

You'll notice that it doesn't have a variants field anymore. I got it to work by renaming it to addVariant.

Metadata

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