remove fixed header - allow the whole page to scroll

This commit is contained in:
Sean Yesmunt 2018-06-13 00:37:21 -04:00
parent 7e7b8d770b
commit 20b2484cf2
3 changed files with 3 additions and 5 deletions

View file

@ -84,8 +84,8 @@ class App extends React.PureComponent<Props> {
<Theme />
<main className="page">
<SideBar />
<Header />
<div className="content" id="content">
<Header />
<Router />
<ModalRouter />
</div>

View file

@ -157,7 +157,7 @@ p {
grid-template-rows: var(--header-height) calc(100vh - var(--header-height));
grid-template-columns: var(--side-nav-width) auto;
grid-template-areas:
'nav header'
'nav content'
'nav content';
background-color: var(--color-bg);
height: 100vh;
@ -176,7 +176,7 @@ p {
*/
.content {
grid-area: content;
overflow: auto;
overflow-y: auto;
}
.main {

View file

@ -1,11 +1,9 @@
.header {
grid-area: header;
display: flex;
z-index: 1;
justify-content: space-between;
padding: $spacing-width $spacing-width 0 $spacing-width;
background-color: var(--color-bg);
// height: 100px;
}
.header__actions-right {