doc: remove `scroll-behavior: smooth;`
I found that in the production environment, scroll-behavior: smooth;
can still cause scroll-padding-top
(on the document
) to be ineffective, and the heading is still being covered. But I don't know the reason. I can only remove it for now. Does any CSS expert know the reason?
Steps to reproduce:
- Go to https://nodejs.org/docs/latest/api/documentation.html
- Click 'Stability index'