Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Toolbar Covering Top of Scroll #545

Open
reevesba opened this issue Feb 6, 2021 · 2 comments
Open

Toolbar Covering Top of Scroll #545

reevesba opened this issue Feb 6, 2021 · 2 comments

Comments

@reevesba
Copy link

reevesba commented Feb 6, 2021

Not so much an issue, just a question. Any quick way to position the scroll bar beneath the toolbar rather than behind it? Thanks for the great template! I love the overall structure.

@slegge
Copy link
Contributor

slegge commented Mar 26, 2021

It is not too difficult to do if you want to stick with a sticky header, but since there is a property to turn the stickiness on and off it would be difficult due to how the mat-sidenav-container works.

If you are ok with always having a sticky header, you could move the toolbar before the mat-sidenav-container and move the top of the rest of the content below it.

Another option is to not have the toolbar use the full width and not cover the scollbar.

@reevesba
Copy link
Author

Make sense, thanks for the suggestions!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants