Sidebar related videos hiding fix

This commit is contained in:
goodtube4u
2025-09-19 11:00:43 +10:00
parent 0a37492115
commit 55da8fea6b

View File

@@ -318,7 +318,13 @@
// Hide suggested videos if they're not enabled
if (goodTube_hideSuggestedVideos === 'true') {
cssOutput += `
ytd-watch-flexy #secondary {
/* Hide suggested videos */
ytd-watch-flexy #secondary #related {
display: none !important;
}
/* Hide full sidebar if not playlist */
ytd-watch-flexy #secondary:not(:has(ytd-playlist-panel-video-renderer)) {
display: none !important;
}
`;