Skip to content

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

@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

Cont of #16

@adamwathan the issue is that varaints aren't working (aren't generated) with the above versions (with Tailwind CSSv3.0.23) I mentioned. Tailwind renamed the variants field to addVariant, which is why the existing variant field won't work in getting the the variant CSS code generated.

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