I want to pop-up a modal LWC using a quick action, without any Aura components. This should be possible since Summer'21.
I am currently using an Aura component that does the pop-up and at the same time specifies the maximum size of the modal.
When specifying a LWC in a quick action, I cannot specify a size. So how can I do it? Because the default size is too small for me.
If I look at the Salesforce documentation on lightning-quick-action-panel, it states "The lightning-quick-action-panel component implements the Modals blueprint in the SLDS".
In that section, I see a demonstration of the slds-modal_large class and I would like to apply it to my modal, but I don't know how: slds-modal_large is not a class that can be applied to lightning-quick-action-panel. I want to use lightning-quick-action-panel because a) it is recommended and b) it gives a nice border for the modal.
Where and how in the CSS or HTML file do I combine lightning-quick-action-panel and slds-modal_large?
uiModal--medium modal-container
) due to any styles you apply being scoped to your component. I don't think there's a way without going around that (and will eventually not work) like the loadStyle hack