After the latest update of either wire-elements modal or tailwind, my modals in all of my apps got a whole lot more narrow in size and using this doesn't seem to have any effect:
public static function modalMaxWidth(): string
{
return 'xl';
}
Anyone know what changed in the latest update that I need to be aware of?
Im using tailwind JIT if that's of interest.
Edit // I reverted my composer file and only updated livewire elements modal and that is what's breaking it.
Thank you!
Edit 2 // This seems to be the difference:
Before update:
inline-block w-full align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:w-full sm:max-w-2xl
After update:
inline-block w-full align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:w-full sm:max-w-md md:max-w-xl lg:max-w-2xl
Edit 3 // I believe it's my JIT that needs to be updated with new classes. I found another thread about it on here. Sorry for duplicate. I think I got it.
After the latest update of either wire-elements modal or tailwind, my modals in all of my apps got a whole lot more narrow in size and using this doesn't seem to have any effect:
Anyone know what changed in the latest update that I need to be aware of?
Im using tailwind JIT if that's of interest.
Edit // I reverted my composer file and only updated livewire elements modal and that is what's breaking it.
Thank you!
Edit 2 // This seems to be the difference:
Before update:
After update:
Edit 3 // I believe it's my JIT that needs to be updated with new classes. I found another thread about it on here. Sorry for duplicate. I think I got it.