Replies: 1 comment 1 reply
-
|
这是我对于这个问题的修改,希望能对你有所帮助
$toc.addClass('column-right is-sticky'); // 如果目录在左侧则改为 column-left为了防止目录固定之后无法点击到较下方的项目,需要允许目录滚动 在 #toc //目录可滚动
max-height: calc(100vh - 22px)
overflow-y: scroll |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
如题,希望实现不同widgets可以设定不同固定状态。
例如两栏状况下,profile card位于toc上方,希望profile card不固定,但是toc以及其他toc以下的widgets固定。有时目录过长,profile card会非常影响视线。谢谢。
Beta Was this translation helpful? Give feedback.
All reactions