/
Customize Modal Style

Customize Modal Style

Modal layout in Salesforce can be illustrated this way:

Details:

  • Lightning Modal can be styled using slds-modal_container class:

  • model__content 's height:

For example:

<aura:component implements="force:lightningQuickActionWithoutHeader"> <!-- This is for styling the modal --> <aura:html tag="style"> .slds-modal__container { width: 80% !important; max-width:100% !important; height:100% !important; max-height: 100% !important; } </aura:html> <force:canvasApp developerName="application_name" width="100%"/> </aura:component>

Related content

Show Unity as Modal/Tab in Salesforce Lightning
Show Unity as Modal/Tab in Salesforce Lightning
More like this
How to Pass Data to Unity in Salesforce Lightning
How to Pass Data to Unity in Salesforce Lightning
Read with this
Customize Modal Style
Customize Modal Style
More like this
Get Link to Open Specific Quote in Lightning
Get Link to Open Specific Quote in Lightning
Read with this
Show Unity as Modal/Tab in Salesforce Lightning
Show Unity as Modal/Tab in Salesforce Lightning
More like this
Show Unity in New Sub-Tab in Sales Console App
Show Unity in New Sub-Tab in Sales Console App
Read with this

Found an issue in documentation? Write to us.

 
Pricefx version 14.0