Skip to content

Question about pinning section to mobile nav view #2146

Answered by squidfunk
dannyduncan asked this question in Q&A
Discussion options

You must be logged in to vote

The .md-nav__source classes are generally only intended for the source (repository information), so it's semantically not the correct class. .md-nav__item in combination with .md-nav__link would be more correct, as used in the navigation itself. Putting your changes in the nav containers might not be the best idea, as they will stretch to the entire height of the top-most nav container. Maybe try putting your stuff in .md-sidebar__scrollwrap?

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@dannyduncan
Comment options

@squidfunk
Comment options

Answer selected by markallasread
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants