F
Filament7mo ago
anselm

Full Height Modal / Wizard

Hi, I'm trying to show my modal (which is a wizard with multiple steps) to use the full window height (or 90%) - and to keep it the same over the steps to avoid "jumping" of the modal size depending on form length of the steps. Any help with hacking the CSS appreciated 🙂
Solution:
Try ->modalWidth(‘screen’)
Jump to solution
4 Replies
awcodes
awcodes7mo ago
Actions have a ->width(‘screen’) that will set the modal to be the size of the screen.
anselm
anselmOP7mo ago
Yes, that fixes the width. I'm wondering about the height tho
Solution
awcodes
awcodes7mo ago
Try ->modalWidth(‘screen’)
anselm
anselmOP7mo ago
That works, thanks! It's a bit confusing that ->modalWidth('Screen') and ->modalWidth('screen') both exist -> the first being full width, dynamic height and the second actual fullscreen 😅
Want results from more Discord servers?
Add your server