Created
May 2, 2025 12:47
-
-
Save Vlasterx/533ec403d125aec07af43b5a70ab79a8 to your computer and use it in GitHub Desktop.
Stylus configuration for wide YouTube
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
@-moz-document domain("youtube.com") { | |
@media screen and (min-width: 1900px) { | |
.style-scope.ytd-rich-grid-renderer { | |
--ytd-rich-grid-items-per-row: 6; | |
} | |
} | |
@media screen and (min-width: 1500px) and (max-width: 1900px) { | |
.style-scope.ytd-rich-grid-renderer { | |
--ytd-rich-grid-items-per-row: 5; | |
} | |
} | |
@media screen and (min-width: 1000px) and (max-width: 1500px) { | |
.style-scope.ytd-rich-grid-renderer { | |
--ytd-rich-grid-items-per-row: 4; | |
} | |
} | |
ytd-rich-item-renderer[is-in-first-column] { | |
display: none; | |
/* Hides extra padding between videos */ | |
} | |
ytd-rich-section-renderer { | |
display: none; | |
/* Hides shorts and playables */ | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment