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

TOC Links collapses if not enough content to fill the screen #1440

Open
dbaileychess opened this issue May 11, 2021 · 1 comment
Open

TOC Links collapses if not enough content to fill the screen #1440

dbaileychess opened this issue May 11, 2021 · 1 comment

Comments

@dbaileychess
Copy link

If there is not enough content to have a scrollbar, going to a specific anchor in a doc causes it to jump to the bottom-most anchor.

You can see this with the live link here:
https://slatedocs.github.io/slate/?python#delete-a-specific-kitten

If your screen is big enough, there isn't enough content below that tag that it automatically jumps to the bottom-most anchor: (e.g., https://slatedocs.github.io/slate/?python#errors). If your screen is small enough to have a scrollbar for that content, it works.

@ghubstan
Copy link

I thought my generated MD was malformed, but it turns out to be this issue.

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