Skip to content

Conversation

daklay
Copy link
Contributor

@daklay daklay commented Apr 18, 2024

Description

Previously, the scrollbar-gutter property was set to stable, causing the scrollbar placeholder to always be present, even when scrollbars were not visible. This resulted in unwanted empty space affecting the website's design. I changed it from 'stable' to 'auto' to resolve the scrollbar display issue.

Validation

when scrollbar is visible:
image
when scrollbar is not visible:
image
After the change:
image

Related Issues

Check List

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

@daklay daklay requested a review from a team as a code owner April 18, 2024 00:23
Copy link

vercel bot commented Apr 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
nodejs-org ✅ Ready (Inspect) Visit Preview Apr 18, 2024 0:25am

@ovflowd
Copy link
Member

ovflowd commented Apr 18, 2024

I wonder if this change contradicts with the reason why this change got added to begin with, but I'm fine with this chamge.

@ovflowd ovflowd added the github_actions:pull-request Trigger Pull Request Checks label Apr 18, 2024
Copy link
Contributor

github-actions bot commented Apr 18, 2024

Lighthouse Results

URL Performance Accessibility Best Practices SEO Report
/en 🟢 97 🟢 100 🟢 100 🟢 91 🔗
/en/about 🟢 98 🟢 100 🟢 100 🟢 91 🔗
/en/about/previous-releases 🟢 98 🟢 98 🟢 100 🟢 92 🔗
/en/download 🟢 100 🟢 100 🟢 100 🟢 91 🔗
/en/blog 🟢 97 🟢 100 🟢 100 🟢 92 🔗

Copy link
Contributor

Unit Test Coverage Report

Lines Statements Branches Functions
Coverage: 91%
90.1% (583/647) 76.08% (175/230) 92.12% (117/127)

Unit Test Report

Tests Skipped Failures Errors Time
128 0 💤 0 ❌ 0 🔥 5.418s ⏱️

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.

Looks better on my monitor so +1 from me

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 !

@mikeesto mikeesto added this pull request to the merge queue Apr 20, 2024
Merged via the queue into nodejs:main with commit 2942f63 Apr 20, 2024
@monochromer
Copy link
Contributor

But this causes ugly layout shift again.

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.

5 participants