Skip to main content
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.

How do I set a Lightning component height to 100% of the tab
3 respuestas
  1. 2 abr 2018, 1:28
    Hi Joseph,

    Try using CSS calc to find screen height and extend it.

    .THIS .widthtemp {

    height: calc(100%);

    height: -moz-calc(100%);

    height: -webkit-calc(100%);

    }

    Hope the above solution helps.

0/9000