Add ID to modal
Hi All,
I have a action that will open a slideover() modal.
Is there anyway to add a ID to the modal?
I need to change the padding of modalContent in this modal and some other styling within this modal.
i know there is but this will only apply to the Action button.
Or is it possible to open a view where the modal is in?
I did not find anything in https://filamentphp.com/docs/3.x/actions/modals
Thanks for reading this question.
I have a action that will open a slideover() modal.
Is there anyway to add a ID to the modal?
I need to change the padding of modalContent in this modal and some other styling within this modal.
i know there is but this will only apply to the Action button.
Or is it possible to open a view where the modal is in?
I did not find anything in https://filamentphp.com/docs/3.x/actions/modals
Thanks for reading this question.
Solution
You don’t have to have an id or class to target in css.
[wire\:key*="notes.modal"]