function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Mohammad Alazzouni 16Mohammad Alazzouni 16 

How do I extend the length of a lightningforce page?

So I've created an iframe that bring info from an external system. The thing is the UI is not the greatest, when I increased the length of the iframe, it does not seem to affect the (what I think is) the lightning component. My question is really in the image below:

User-added image
Best Answer chosen by Mohammad Alazzouni 16
sfdcMonkey.comsfdcMonkey.com
Hey you just need to add min-height CSS to your root lightning component body:

use below CSS code in your lightning component CSS file to adjust height or width of lightning component :
.THIS {
    min-height:450px;
}
Hopes it will solve your issue,
kindly let us know if it helps you and close your query by choosing best answer if you got your solition
thanks
http://sfdcmonkey.com
 

All Answers

SandhyaSandhya (Salesforce Developers) 
Hi,

Did you refer below link for similar discussion.

https://salesforce.stackexchange.com/questions/145766/lightning-component-height-width-adjustment
 
Please mark it as solved if my reply was helpful. It will make it available for other as the proper solution.
 
Best Regards
Sandhya
 
sfdcMonkey.comsfdcMonkey.com
Hey you just need to add min-height CSS to your root lightning component body:

use below CSS code in your lightning component CSS file to adjust height or width of lightning component :
.THIS {
    min-height:450px;
}
Hopes it will solve your issue,
kindly let us know if it helps you and close your query by choosing best answer if you got your solition
thanks
http://sfdcmonkey.com
 
This was selected as the best answer
Mohammad Alazzouni 16Mohammad Alazzouni 16
Hey Piyush, it worked! Thanks!