Skip to content

fix(demo): improve use-cases anchor positioning#115

Open
shravya290706 wants to merge 1 commit into
idncod:masterfrom
shravya290706:fix-use-cases-scroll
Open

fix(demo): improve use-cases anchor positioning#115
shravya290706 wants to merge 1 commit into
idncod:masterfrom
shravya290706:fix-use-cases-scroll

Conversation

@shravya290706

Copy link
Copy Markdown

Summary

Fixes the Use Cases navigation positioning issue in the demo application.

Changes

  • Added scroll-margin-top to demo sections.
  • Prevents the Use Cases section from being partially hidden behind the sticky header when navigating via navbar links.
  • Ensures the section heading and content are visible after clicking "Use Cases".

Testing

  • Ran npm run dev:demo
  • Navigated between Quickstart, Use Cases, and Demo Shop sections
  • Verified the Use Cases section is positioned correctly after navigation

Fixes #104

@vercel

vercel Bot commented Jun 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
snappycart Ready Ready Preview, Comment Jun 3, 2026 6:21pm

@vercel

vercel Bot commented Jun 3, 2026

Copy link
Copy Markdown

@shravya290706 is attempting to deploy a commit to the idncod's projects Team on Vercel.

A member of the Team first needs to authorize it.

@Tetiana-TC-QA

Copy link
Copy Markdown
Contributor

Thanks for fixing. Everything looks good.

@Tetiana-TC-QA Tetiana-TC-QA left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shravya290706 Thanks, looks good. Do not forget to include this: 11. If your PR changes package behaviour, package-facing documentation, public API, shipped files, or package output, run npm changeset from the repository root before you commit your PR work so the generated .changeset/*.md file is included in the pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

QA, Demo: Clicking on "Use Cases" in Demo opens the bottom portion of the Use Cases block

2 participants