Skip to content

fix: Remove unnecessary margin from sidebar item #8084

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

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

Conversation

adi-ray
Copy link

@adi-ray adi-ray commented Aug 17, 2025

Description

Eliminated the "loose pixel" which was being shown between sidebar items.

Validation

Before:
image
After:
image

Related Issues

Fixes #8082

Check List

  • I have read the Contributing Guidelines and made commit messages that follow the guideline.
  • I have run pnpm format to ensure the code follows the style guide.
  • I have run pnpm test to check if all tests are passing.
  • I have run pnpm build to check if the website builds without errors.
  • I've covered new added functionality with unit tests if necessary.

@Copilot Copilot AI review requested due to automatic review settings August 17, 2025 08:47
@adi-ray adi-ray requested a review from a team as a code owner August 17, 2025 08:47
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes a visual issue by removing unnecessary margin from sidebar items that was causing "loose pixels" to appear between sidebar items.

  • Removes the mb-px Tailwind CSS class from sidebar items to eliminate spacing gaps
  • Addresses a UI consistency issue where unwanted pixel spacing was visible between navigation items

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link

vercel bot commented Aug 17, 2025

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

Project Deployment Preview Updated (UTC)
nodejs-org Ready Ready Preview Aug 17, 2025 10:03am

Copy link
Member

@AugustinMauroy AugustinMauroy left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@mikeesto mikeesto left a comment

Choose a reason for hiding this comment

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

As a suggestion... if we add a gap of 1px to:

then the spacing will remain as it currently is

@ovflowd
Copy link
Member

ovflowd commented Aug 17, 2025

Am I the only one that feels they're too close together now?

Copy link
Contributor

github-actions bot commented Aug 17, 2025

Lighthouse Results

URL Performance Accessibility Best Practices SEO Report
/en 🟢 93 🟢 100 🟢 100 🟢 100 🔗
/en/about 🟢 97 🟢 97 🟢 100 🟠 88 🔗
/en/about/previous-releases 🟢 99 🟢 93 🟢 100 🟠 89 🔗
/en/download 🟢 93 🟢 100 🟢 100 🟢 100 🔗
/en/blog 🟢 100 🟢 100 🟢 96 🟢 100 🔗

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.

Extra pixel shown in Sidebar
5 participants