I used a Lightning Component and I wanted to know how can I set the width of lightning action modal popup?
Below my code :
Markup component :
<aura:component implements="force:lightningQuickActionWithoutHeader,force:hasRecordId" controller="Lead_Coface_Controller">
<div aura:id="messages">
{!v.message}
</div>
</aura:component>
css :
.THIS{
}
Can you try the below code.
In Controller in doInt(or at required place)
var modal1 = component.find("messages");
$A.util.addClass(modal1,'YourClass');
In style
.THIS .YourClass{width:50%;} //change the css value