VedantPatil-99 opened a new pull request, #79: URL: https://github.com/apache/echarts-www/pull/79
Fixes: #78 ## Description This PR addresses several minor visual inconsistencies in the main navigation component (`_components.nav.scss`). The primary focus was on maintaining a consistent spacing in nav items. ### Changes * **Layout Cleanup:** Removed legacy negative margins (`-25px`, `-15px`) from the `#navbar-collapse` element. These were causing the menu to bleed outside the container on some devices. Readded these margins in the media query (`max-width: 768px`) * **Improved Spacing:** Adjusted padding to `6px` for screens between `768px` and `900px`. This prevents the navigation links from feeling crowded or wrapping prematurely on smaller tablet devices. * Fixed vertical alignment for active nav items. ## Related Issue Fixes #[Insert Issue Number Here] ## Quality Check * [x] Fixed vertical alignment for active nav items. * [x] Verified responsive behavior on mobile (375px), tablet (768px), and desktop. * [x] No regressions found in the dropdown menu behavior. ## Screenshots (Optional but Recommended) ### **Before** <img width="1253" height="177" alt="echarts-expected-nav" src="https://github.com/user-attachments/assets/e99222f7-f246-4cf6-a5f5-62080a55b445" /> ### **After** <img width="1270" height="152" alt="echarts-expected-nav " src="https://github.com/user-attachments/assets/3e934a8a-8566-48e5-a40d-fc37e2cac116" /> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
