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

Make tabs with long contents floating on the top #958

Open
astroHaoPeng opened this issue Jul 9, 2019 · 2 comments · Fixed by next-theme/hexo-theme-next#361
Open

Make tabs with long contents floating on the top #958

astroHaoPeng opened this issue Jul 9, 2019 · 2 comments · Fixed by next-theme/hexo-theme-next#361

Comments

@astroHaoPeng
Copy link

Is it possible for the tabs to float at the top of the screen, while people scroll down a long tab.

See my page for example. Basically I was using tabs as a subsubsection to organize my contents. Since the context in one tab is usually long, I hope the tabs will float on the top of the screen, so that people will not forget to check other tabs.

Please feel free to refuse and close the issue. Thanks.

@jiangtj
Copy link
Member

jiangtj commented Jul 14, 2019

Good idea. But I think using header # ## ### maybe better, if you want them all to be seen. And they can also be skipped by clicking on the sidebar toc.

BTW, I don't know how to implement this function. It seems a bit difficult. So waiting for someone to be interested in it.

@stevenjoezhang
Copy link
Contributor

stevenjoezhang commented Aug 30, 2021

See next-theme/hexo-theme-next#361

@astroHaoPeng Can you help review this pull request? Thanks

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

Successfully merging a pull request may close this issue.

3 participants