Fix Navbar Z-Index
Describe the bug The navigation/header bar does not reliably maintain its stacking order. Buttons in the page content (e.g. "Access the Playground") appear visually on top of the sticky header as you scroll.
Root Cause
btn.style.js hardcodes z-index: 999 on every Button component. The header's z-index is sourced from the styled-components theme (theme.zIndex.navbar). If the theme context is unavailable or misconfigured during render, the header receives no z-index at all β allowing z-index: 999 buttons to paint over it.
Expected Behavior The navbar should always remain above page content while sticky.
Steps to Reproduce
- Open the site
- Scroll down past the "Access the Playground" button
- Observe the button / its ring animation overlapping the sticky navbar
Screen Recording
https://github.com/user-attachments/assets/e9ec6b50-3767-41cb-b4de-5b43abde222e
Contributor Guides and Resources
- π Meshery Build & Release Strategy
- π Instructions for contributing to documentation
- π¨ Wireframes and designs for Meshery UI in Figma (open invite)
- ππΎππΌ Questions: Discussion Forum and Community Slack
@chaitanyamedidar @banana-three-join can I get this issue assigned. thank you