Skip to content

Commit 41ed53d

Browse files
author
Your Name
committed
Angular Forms In Depth
1 parent 12afa41 commit 41ed53d

File tree

4 files changed

+28
-2
lines changed

4 files changed

+28
-2
lines changed

src/app/app.component.css

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,14 @@
55

66
main {
77
margin: 30px;
8-
}
8+
}
9+
10+
mat-toolbar {
11+
position: fixed;
12+
z-index: 1000;
13+
14+
}
15+
16+
.main-content {
17+
margin-top: 80px;
18+
}

src/app/app.component.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@
3232
</button>
3333
</mat-toolbar>
3434

35-
<router-outlet></router-outlet>
35+
<div class="main-content">
36+
37+
<router-outlet></router-outlet>
38+
39+
</div>
3640

3741
</mat-sidenav-container>

src/app/create-course/create-course.component.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,9 @@
44
<h2 class="title">Create New Course</h2>
55

66
</div>
7+
8+
9+
<div class="scrolling-space">
10+
11+
12+
</div>

src/app/create-course/create-course.component.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ h2 {
33
font-family: "Roboto";
44
}
55

6+
.scrolling-space {
7+
width: 100%;
8+
height: 500px;
9+
10+
}
11+
612
.data-form {
713
max-width: 600px;
814
margin: 0 auto;

0 commit comments

Comments
 (0)