You need to sign in to do that
Don't have an account?
Joseph Rosario
How do I set a Lightning component height to 100% of the tab
I'm struggling with having my component resize to 100% of the tab.
I tried using slds-grid--frame but this seems to create problems.
<div id="mainfrm" class="slds-grid slds-grid--frame slds-grid--vertical slds-scrollable_none" >
Any help or examples would be a great help.
I tried using slds-grid--frame but this seems to create problems.
<div id="mainfrm" class="slds-grid slds-grid--frame slds-grid--vertical slds-scrollable_none" >
Any help or examples would be a great help.
If I remove slds-grid--frame, the width is perfect but the height does not resize to the height of the tab.
I tried adding a style with height:100% but it does not work.
See below..
Try using CSS calc to find screen height and extend it. Hope the above solution helps.