Anchor link jumping to wrong spot in table

When we implemented sticky headers for tables, we probably didn't test anchor links to ensure they worked properly.

Repro steps:

Click this link: https://docs.gitlab.com/ee/development/pipelines.html#pre-clone-step

  • Actual: It jumps to the middle of the table.
  • Expected: It should jump to the top of the table.