Skip to content

doc: remove `scroll-behavior: smooth;`

Rodrigo Muino Tomonari requested to merge github/fork/cloydlau/main into main

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:

  1. Go to https://nodejs.org/docs/latest/api/documentation.html
  2. Click 'Stability index'

Merge request reports

Loading