I created an empty react project and I only added a materializecss for styles.
<div className="App">
<header>
<nav/>
</header>
<div className="row category__list" />
<footer className="page-footer">
<div className="footer-copyright" />
</footer>
</div>
I added a styles for my blocks.
.App {
height: 100vh;
}
.category__list {
margin: 0;
height: 100%;
}
.page-footer {
padding: 0;
}
Why my block App
and the block category__list
have the same height? And I have a scroll and my footer not see without use the scroll.
As I see it, the category__list
block should set all free space and my footer haven't to be outside the display.
For example http://jsfiddle.net/MegaRoks/g4ruz53p/10/