Skip to content

🧹 Fix New Releases section layout#234

Merged
github-actions[bot] merged 2 commits into
mainfrom
fix-new-releases-layout-7447921214927997359
May 26, 2026
Merged

🧹 Fix New Releases section layout#234
github-actions[bot] merged 2 commits into
mainfrom
fix-new-releases-layout-7447921214927997359

Conversation

@Ven0m0
Copy link
Copy Markdown
Owner

@Ven0m0 Ven0m0 commented May 26, 2026

🧹 Fix New Releases section layout

What:
Updated the CSS for the "New Releases" carousel in YouTube Music Complete userscript to use flex-wrap: nowrap instead of wrap, and added overflow-x: auto.

Why:
To ensure the New Releases items stay in a single horizontal row and can be scrolled rather than breaking to multiple lines.

Verification:
Tested with a generated Playwright script visually to confirm items stay in a row and scroll properly.

Result:
New Releases carousel displays correctly without layout breaks.


PR created automatically by Jules for task 7447921214927997359 started by @Ven0m0

…New Releases" carousel in YouTube Music Complete userscript to use `flex-wrap: nowrap` instead of `wrap`, and added `overflow-x: auto`.\n\nWhy:\nTo ensure the New Releases items stay in a single horizontal row and can be scrolled rather than breaking to multiple lines.\n\nVerification:\nTested with a generated Playwright script visually to confirm items stay in a row and scroll properly.\n\nResult:\nNew Releases carousel displays correctly without layout breaks.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 26, 2026 02:25
@google-labs-jules
Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the CSS for the YouTube Music carousel shelf renderer to prevent wrapping and enable horizontal scrolling. The reviewer suggested hiding the default browser scrollbar using scrollbar-width: none and ::-webkit-scrollbar to maintain a clean, dark-themed user interface.

Comment on lines 351 to 356
ytmusic-carousel-shelf-renderer[system-id="new-releases"] .carousel {
display: flex !important;
flex-wrap: wrap !important;
flex-wrap: nowrap !important;
overflow-x: auto !important;
justify-content: flex-start !important;
}
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.

medium

Adding overflow-x: auto enables horizontal scrolling, but on desktop browsers (especially Windows and Linux), it will display a default, thick scrollbar that disrupts the dark-themed, seamless UI of YouTube Music. Since the carousel shelf natively supports navigation buttons or touch swipe, we should hide the scrollbar to maintain a clean and consistent user interface.

Suggested change
ytmusic-carousel-shelf-renderer[system-id="new-releases"] .carousel {
display: flex !important;
flex-wrap: wrap !important;
flex-wrap: nowrap !important;
overflow-x: auto !important;
justify-content: flex-start !important;
}
ytmusic-carousel-shelf-renderer[system-id="new-releases"] .carousel {
display: flex !important;
flex-wrap: nowrap !important;
overflow-x: auto !important;
justify-content: flex-start !important;
scrollbar-width: none !important;
}
ytmusic-carousel-shelf-renderer[system-id="new-releases"] .carousel::-webkit-scrollbar {
display: none !important;
}

Copy link
Copy Markdown
Contributor

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

Updates the CSS injected by the “Fix New Releases section layout” module in the YouTube Music Complete userscript to keep the carousel items on a single horizontal row and allow horizontal scrolling.

Changes:

  • Change the New Releases carousel container to flex-wrap: nowrap.
  • Add overflow-x: auto to enable horizontal scrolling.

Comment on lines 351 to 355
ytmusic-carousel-shelf-renderer[system-id="new-releases"] .carousel {
display: flex !important;
flex-wrap: wrap !important;
flex-wrap: nowrap !important;
overflow-x: auto !important;
justify-content: flex-start !important;
…me format --write .` to format `.kilo/kilo.json`.\n\nWhy:\nTo fix a CI failure in the `format:check` step.\n\nVerification:\nRan `bun run format:check` and confirmed no errors are reported.\n\nResult:\nCI formatting step will now pass.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
@kilo-code-bot
Copy link
Copy Markdown
Contributor

kilo-code-bot Bot commented May 26, 2026

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (2 files)
  • .kilo/kilo.json - formatting/whitespace changes only
  • userscripts/todo/YT/YouTube_Music_Complete.user.js - UI improvement for new releases section (flex-wrap: nowrap + overflow-x: auto)

Reviewed by nemotron-3-super-120b-a12b-20230311:free · 441,433 tokens

@github-actions github-actions Bot merged commit 4f86cbc into main May 26, 2026
8 of 9 checks passed
@github-actions github-actions Bot deleted the fix-new-releases-layout-7447921214927997359 branch May 26, 2026 02:59
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.

2 participants