Skip to content

max-breakpoint:class not working when raw screen setup present in tailwind config #14429

@SebastianMarzecCodewise

Description

What version of Tailwind CSS are you using?

v3.4.10

Reproduction URL

https://play.tailwindcss.com/rHaI81WQuv

Describe your issue

In example above class max-lg:hidden is not working, but of course none of max:breakpoint classes works when I have custom media-query with raw setup in tailwind config.
If you'll remove this line (in tailwind play/config):
'shortdesktop': { 'raw': '(max-height: 950px) and (min-width: 768px)' },
it works again

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