Angular material page left some gap between browser ends and the content
See original GitHub issueBug, feature request, or proposal:
Bug
What is the expected behavior?
Here, there is no gap in between the ends of browser and the page.
What is the current behavior?
Here, in my localhost:4200
, there is a humiliating gap (margin) in between the ends of browser and the material toolbar.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular Version: 4.2.5 OS: Windows 10 Anniversary Update Angular Material Version: 2.0.0-beta.7 Chrome Version: 59.0.3071.115
Is there anything else we should know?
Node: v8.1.2 npm: v5.0.3
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Unwanted White Space at the bottom of Web Angular ...
I am getting white space at the bottom of a page when displayed in the browser - and - I am not seeing...
Read more >Sidenav - Angular Material
Measures the scroll offset relative to the specified edge of the viewport. This method can be used instead of directly checking scrollLeft or...
Read more >column-gap - CSS: Cascading Style Sheets - MDN Web Docs
Initially a part of Multi-column Layout, the definition of column-gap has been broadened to include multiple layout methods. Now specified in ...
Read more >3 ways to display two divs side by side (float, flexbox, CSS grid)
You can use the grid-gap (or gap in newer browsers) to automatically add space in your grid template. We've set grid-gap to 20px,...
Read more >Content Jumping (and How To Avoid It) | CSS-Tricks
To fix it, I used the browser's DevTools to measure the height of the resulting content and hardcoded it as a min-height for...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Did you put
md-toolbar
inmd-sidenav-container
? Also, you have to add afullscreen
attribute tomd-sidenav-container
. As so:Alternatively, add the following CSS:
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.