Skip to content

Improve thumbnails per row on the Subscriptions page#2974

Merged
ImprovedTube merged 1 commit intocode-charity:masterfrom
wbalbo:fix-thumbnails-subscription
Jun 2, 2025
Merged

Improve thumbnails per row on the Subscriptions page#2974
ImprovedTube merged 1 commit intocode-charity:masterfrom
wbalbo:fix-thumbnails-subscription

Conversation

@wbalbo
Copy link
Contributor

@wbalbo wbalbo commented Jun 2, 2025

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.

@wbalbo wbalbo requested a review from ImprovedTube June 2, 2025 14:28
@ImprovedTube ImprovedTube merged commit 613c7e9 into code-charity:master Jun 2, 2025
1 check passed
@ImprovedTube
Copy link
Member

thank you!

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