Skip to content

Add a scroll to top button #876

@Aayushman-nvm

Description

@Aayushman-nvm

Description

Add a scroll-to-top button that appears after scrolling ~300px down the page. Improves navigation on long documentation pages.

Implementation

  • Create _includes/scroll_to_top.html component (HTML/CSS/JS in one file)
  • Add {% include scroll_to_top.html %} to default.html and landing_page.html
  • Button appears bottom-right, fades in/out based on scroll position
  • Responsive across all screen sizes

Benefits

  • Reduces navigation time on long pages
  • Smooth scroll-to-top UX
  • Self-contained, easy to maintain

Note

  • Code work is already done, will raise a PR once PRs are accepted repository wide

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions