Skip to content

extending screens with raw fails max-* screens properties #11698

@yunuli

Description

@yunuli

@RobinMalfait
I've found why max-* fails.
overrides default only cause the missing key fails, like missing 'sm' only make 'max-sm' fails
it is by extending with raw, make all the max-* fails

module.exports = {
  theme: {
    extend: {
      screens: {
        tall: { raw: '(min-height: 800px)' },
        laptop: '1024px',
      },
    },
  },
  plugins: [],
}

Originally posted by @yunuli in #11685 (reply in thread)

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