Issue
I'm trying to figure out how to get my Angular 2 + Material Design app to be completely full width. I know M.D. isn't finished but it looks like the only thing I can do it just to manually put body's margins at 0 which does not seem like a good answer.
I tried going through the wiki for the flex-layout but I guess I must be missing something.
Solution
As @isherwood said it only requires a few line of css. @angular/material2 has nothing to do with that :)
body, html{
height: 100%
}
body{
margin: 0;
background-color: rgba(255,0,0,.5);
}
Answered By - Ploppy
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.