Skip to content

Commit 26f2fe1

Browse files
sacgroverKeen Yee Liau
authored and
Keen Yee Liau
committed
fix(@schematics/angular): scroll issue on new app after adding Material
Fixes #16966
1 parent f3bf2f5 commit 26f2fe1

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

packages/schematics/angular/application/other-files/app.component.html.template

+5-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,11 @@
3535
}
3636

3737
.toolbar {
38+
position: absolute;
39+
top: 0;
40+
left: 0;
41+
right: 0;
3842
height: 60px;
39-
margin: -8px;
4043
display: flex;
4144
align-items: center;
4245
background-color: #1976d2;
@@ -59,7 +62,7 @@
5962

6063
.content {
6164
display: flex;
62-
margin: 32px auto;
65+
margin: 82px auto 32px;
6366
padding: 0 16px;
6467
max-width: 960px;
6568
flex-direction: column;

0 commit comments

Comments
 (0)