
Product
A New Overview in our Dashboard
We redesigned Socket's first logged-in page to display rich and insightful visualizations about your repositories protected against supply chain threats.
@nib-styles/grow-layout
Advanced tools
Simple flexbox layout to push footer to bottom by adding three classes
Simple flexbox
sticky footer by adding three classes
npm install --save @nib-styles/grow-layout
Add grow-layout
class to the direct parent element wrapping both the div you wish to expand and the footer.
Unfortunately due to this flexbox issue in IE, we need a second wrapping element for this to work.
Wrap your page with two divs with classes of grow-layout
and grow-layout__wrapper
. It is important that these divs are direct parents of the div you wish to expand and the header and footer elements.
Add grow-layout__content
class to the element you wish to expand to take up the remaining space on the page and push the footer to the bottom.
<div class="grow-layout">
<div class="grow-layout__wrapper">
<header></header>
<div class="grow-layout__content"> This div will grow vertically to fill the screen</div>
<footer></footer>
</div>
</div>
FAQs
Simple flexbox layout to push footer to bottom by adding three classes
We found that @nib-styles/grow-layout demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 33 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
We redesigned Socket's first logged-in page to display rich and insightful visualizations about your repositories protected against supply chain threats.
Product
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
Security News
CISA denies CVE funding issues amid backlash over a new CVE foundation formed by board members, raising concerns about transparency and program governance.