Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Improve Sidebar and Aside Link Visibility on Mount and Route Change #3901

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Commits on May 18, 2024

  1. feat(theme): adjust aside-container offsetTop

    Optimize the `aside-container` to update scroll behavior when the `activeLink` is out of the viewport.
    brenoepics committed May 18, 2024
    Configuration menu
    Copy the full SHA
    918b120 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    545442b View commit details
    Browse the repository at this point in the history
  3. feat(theme): Enhance sidebar link visibility

    Automatically scrolls to ensure the active sidebar link is in view upon page load.
    
    Co-Authored-By: Bobbie Goede <[email protected]>
    brenoepics and BobbieGoede committed May 18, 2024
    Configuration menu
    Copy the full SHA
    4dc53c0 View commit details
    Browse the repository at this point in the history
  4. fix(theme): Update sidebar on mount and route change

    Ensures the sidebar link visibility is maintained not only on page load, but also when the route changes.
    brenoepics committed May 18, 2024
    Configuration menu
    Copy the full SHA
    4591b45 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e4b1f68 View commit details
    Browse the repository at this point in the history