Skip to content

Commit

Permalink
fix(@schematics/angular): scroll issue on new app after adding Material
Browse files Browse the repository at this point in the history
Starter app is janky after adding Angular Material
::ng-deep is deprecated but that's only solution we can use for now from template.  It should be removed when ::ng-deep will be removed from angular. 
Fixes angular#16966
  • Loading branch information
sacgrover authored Feb 17, 2020
1 parent 54b79ad commit e245de6
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

::ng-deep body {
margin: 8px;
}

h1,
h2,
Expand Down Expand Up @@ -528,4 +532,4 @@


<% if (routing) { %>
<router-outlet></router-outlet><% } %>
<router-outlet></router-outlet><% } %>

0 comments on commit e245de6

Please sign in to comment.