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

反链提及面板中的文档标题改为悬停在面板顶部 #13679

Open
TCOTC opened this issue Dec 31, 2024 · 0 comments
Open

反链提及面板中的文档标题改为悬停在面板顶部 #13679

TCOTC opened this issue Dec 31, 2024 · 0 comments

Comments

@TCOTC
Copy link
Contributor

TCOTC commented Dec 31, 2024

用途:

  1. 往下滚动时能看到该文档名
  2. 往下滚动之后便于折叠文档,不需要往上滚动找到文档标题折叠

方案:

用一层 div 把各个标题和内容套在一起,相互隔开,标题用 position: sticky;

image
_

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

1 participant