You need to sign in to do that
Don't have an account?

lightning quick action modal width
Hello,
I am created an LWC quick action to be added to a record layout page. It is required to wrap the content of the modal in a lightning-quick-action-panel as per this dev guide Create Screen Quick Actions (https://developer.salesforce.com/docs/component-library/documentation/en/lwc/lwc.use_quick_actions_screen).
I have got this working perfectly.
My question is about increasing horizontal space taken by the modal when it is open.
Modals aren't supported by styling hooks mechanisms, so I can't use them.
I tried overriding slds-modal__container without success unlike for aura components.
Can this be done?
Please use below code:-
Using external CSS File
To create a .css file,
follow the step:
1. Right-click on your lwc component.
2. Select New File
3. Name the file same as your lwc component with the .css extension if you need any assistanse, Please let me know!!
Kindly mark my solution as the best answer if it helps you.
Thanks
Mukesh
That worked for me using the lightning-quick-action-panel in an lwc component
The approach above with only the lwc.css does not work for me either.