remove fixed header - allow the whole page to scroll
This commit is contained in:
parent
7e7b8d770b
commit
20b2484cf2
3 changed files with 3 additions and 5 deletions
|
@ -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>
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue