Skip to content
This repository was archived by the owner on Oct 1, 2018. It is now read-only.

Commit a912ee9

Browse files
committed
header styling update
1 parent 2b9614f commit a912ee9

File tree

2 files changed

+15
-9
lines changed

2 files changed

+15
-9
lines changed

src/app/app.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
</a>
2020
</mat-nav-list>
2121
</mat-sidenav>
22-
<main class="body-margin">
22+
<main class="app-content">
2323
<router-outlet></router-outlet>
2424
</main>
2525
</mat-sidenav-container>

src/app/app.component.scss

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,20 @@
33
font-weight: 600;
44
}
55

6+
.app-fullpage {
7+
position: absolute;
8+
top: 0;
9+
bottom: 0;
10+
left: 0;
11+
right: 0;
12+
display: flex;
13+
flex-direction: column;
14+
15+
header {
16+
z-index: 10;
17+
}
18+
}
19+
620
mat-sidenav-container {
721
flex: 1 1 auto;
822
width: 100%;
@@ -13,14 +27,6 @@ mat-sidenav {
1327
width: 200px;
1428
}
1529

16-
.primary-toolbar {
17-
z-index: 10;
18-
19-
.toolbar-title {
20-
padding: 0 16px;
21-
}
22-
}
23-
2430
.app-content {
2531
min-height: 100%;
2632
overflow: auto;

0 commit comments

Comments
 (0)