Improve thumbnails per row on the Subscriptions page#2974
Merged
ImprovedTube merged 1 commit intocode-charity:masterfrom Jun 2, 2025
Merged
Improve thumbnails per row on the Subscriptions page#2974ImprovedTube merged 1 commit intocode-charity:masterfrom
ImprovedTube merged 1 commit intocode-charity:masterfrom
Conversation
Member
|
thank you! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is an improvement from PR #2936.
@MisterTickle commented that it was not working on the Subscriptions page, and indeed was not good enough, sometimes worked, sometimes not.
Since YouTube treats each page a bit differently, I had to look for all elements on the Subs page for the specific class, --ytd-rich-grid-items-per-row, and then apply the number of items.
If you still see something strange visually, like some rows with only 2 videos, is because of the Shorts; disable them and it should work perfectly. But even if you like shorts, this only happens in 2 to 3 rows at maximum, so it is not a huge problem.
Tested on both Chrome and Edge, and also confirmed that the previous code for the Home page is working fine; the change was only for the Subscriptions page.