Skip to content

Strict modal max width without 2xl: style prefixes #562

Description

@Zephni

I am always battling against the modal max width to the point where I wish there was a way of just passing arbitrary classes to the modal.blade.php container, but it seems like there's no way to hack around this as it's so strictly written. I notice that you are doing:

x-bind:class="modalWidth"

In modal.blade.php but this does a whole load of weird prefixing like md:{size 1} lg:{size 2} xl:{size 3} etc. I really need to be able to choose to simply have a max-w-7, or even something like max-w-full md:max-w-7 if nesseary.

Is there any way at all in the config I can apply the max width of say 7xl but without it automatically adding a bunch of breakpoints with other sizes that I didn't specify?

Activity

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