You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Strict modal max width without 2xl: style prefixes #562
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
PhiloNL commentedon May 4, 2026
Hi @Zephni
In that case you can publish the view of the modal and make the changes to the html directly, that way you have full control.