Skip to content

maxWidths have to be added to safelifst #265

@laraben

Description

@laraben

Hi,

I have to add
safelist: [
'sm:max-w-sm',
'sm:max-w-md',
'md:max-w-lg',
'md:max-w-xl',
'lg:max-w-2xl',
'lg:max-w-3xl',
'xl:max-w-4xl',
'xl:max-w-5xl',
'xl:max-w-5xl',
'2xl:max-w-6xl',
'xl:max-w-5xl',
'2xl:max-w-7xl',
],

to my tailwind config or else it always shows sm:max-w-sm.
Tailwind seems to remove these classes as they are added after the page loads

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions