I only want my custom component popup to be wider and not any other action popup's. Did any of you got the same issue., Any Idea here how to solve this?
This is the css file I created and using it as a static resource in my lightning component.
.slds-modal__container{
max-width: 60rem !important;
width:100% !important;
}
7 respostas
Hi there!
I have been down this path and trust me when I say this, you just CANNOT change the width of the standard modal.
You can try something like this:
Create a parent component and add your child component in it. Invoke the parent component in the lightning action.
This thread will help you with the same: https://developer.salesforce.com/forums/?id=9060G000000BfHPQA0