Skip to content

maxWidths have to be added to safelifst #265

Closed

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

Activity

  1. locked and limited conversation to collaborators on Oct 10, 2022
  2. converted this issue into a discussion #266 on Oct 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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