-
-
Notifications
You must be signed in to change notification settings - Fork 215
Description
-
Navigating directly to https://svelte.dev/docs/kit/remote-functions#query.batch shows the correct section, with scroll padding to make sure the section heading is visible.
-
However, when you first go to https://svelte.dev/docs/kit/project-structure and then use the docs search e.g. searching for
query.batchto navigate to this section on a different page, thequery.batchsection heading is hidden under the menu due to a lack of scroll padding. Or maybe the positioning happens via JS and doesn't take scroll padding into account. -
When using the docs search to navigate to a section on the same page, you do get the correct scroll padding though. Maybe the native browser scroll is used, which correctly uses the scroll padding that was set via CSS?
Browser: Firefox 146
Reproduction: