You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 7, 2021. It is now read-only.
I have a fixed navbar at the top of my page. My content is on the left and my scrollspy is on the right. When I click on an element in scrollspy, my content scrolls to the correct id but the top bit of it is hidden by my nav bar. Offset doesn't work because it only offsets the scrollspy list.
Any ideas?
The text was updated successfully, but these errors were encountered:
Adding padding-top to my anchor element really messes with my design. Adds too much white space. Any suggestion? Can you add a topOffset which takes a value and use that value to scroll that many pixels away from the top of the window?
have you tried adding padding-top and negative margin-top? its worked quite well in a few cases for me. also find adding margin-bottom on items preceeding them eliminates overlap.
Hi,
I have a fixed navbar at the top of my page. My content is on the left and my scrollspy is on the right. When I click on an element in scrollspy, my content scrolls to the correct id but the top bit of it is hidden by my nav bar.
Offset
doesn't work because it only offsets the scrollspy list.Any ideas?
The text was updated successfully, but these errors were encountered: