-
Notifications
You must be signed in to change notification settings - Fork 3.2k
The header will block the ToC #3328
-
Is the header in the current version of academic pages fixed or sticky? As for now it will block the top of my ToC.
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment 7 replies
-
Fixed, but you should be able to update your version of the ToC to act like the sidebar in the template.
Beta Was this translation helpful? Give feedback.
All reactions
-
Sry, but as I am using the same code snippet as you provided, but this behavior still exists 😂
Beta Was this translation helpful? Give feedback.
All reactions
-
@mendax1234 Yes, that's how it should be working. That's where you need to edit the CSS if you want to be fixed like the side bar.
Beta Was this translation helpful? Give feedback.
All reactions
-
Oops. okok. So, will it be fixed in the future version? Or I can just fix it locally on my own?
Beta Was this translation helpful? Give feedback.
All reactions
-
@mendax1234 Currently there is nothing to fix since the intended behavior is for the ToC to scroll with the page. If you look at the Guide page on the demo website you can see why the scrolling is necessary behavior since there are more entries than can be displayed at 1920x1080 resolution. That being said, it's quite likely that I will be adding a second ToC option that is fixed since there are also situations where you've got a short list of headings, but a lot of content on the page.
For now you should be fine to just update it locally on your own.
Beta Was this translation helpful? Give feedback.
All reactions
-
Ok, I see. Thanks. But just a small documentation here, I only edit this line in _includes/toc
to make it behave like the sticky sidebar
<aside class="sidebar__right sticky">
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1