Panels utilize flexbox to create a vertical container whose direct children are:
-header
,-footer
, or-navBar
children that will fill out space based on their children elements.-content
, which will grow into the remainder of the vertical space and rendering a scrollbar if inner content overflows.
Using Panels inside of component style definition
You can get all panel block and element classes for your component through the l-panel
mixin just before any panel declaration:
scss
@include l-panel('c-mySpecificPanel'); .c-mySpecificPanel { // specific panel classes. }