Skip to content

Commit

Permalink
Support YouTube's updated layout (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
mocanew authored Aug 3, 2024
1 parent 20ed984 commit 434fc67
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions subs.css
Original file line number Diff line number Diff line change
Expand Up @@ -88,26 +88,3 @@ ytd-grid-video-renderer.style-scope.ytd-grid-renderer:hover .subs-btn-mark-watch
#end.ytd-masthead {
min-width: auto !important;
}

ytd-two-column-browse-results-renderer > #primary > ytd-rich-grid-renderer > #contents {
display: grid;
grid-template-columns: repeat(var(--ytd-rich-grid-items-per-row), 1fr);
max-width: var(--ytd-rich-grid-content-max-width);
width: calc(100% - 48px);
}
ytd-two-column-browse-results-renderer[page-subtype="subscriptions"] > #primary > ytd-rich-grid-renderer > #contents {
width: calc(100% - 32px);
}
ytd-two-column-browse-results-renderer[page-subtype="subscriptions"] #content.ytd-rich-section-renderer {
margin: 0 8px;
}
ytd-two-column-browse-results-renderer > #primary > ytd-rich-grid-renderer > #contents > ytd-rich-section-renderer {
grid-column: 1 / -1;
}
ytd-two-column-browse-results-renderer > #primary > ytd-rich-grid-renderer > #contents > ytd-rich-grid-row,
ytd-two-column-browse-results-renderer > #primary > ytd-rich-grid-renderer > #contents > ytd-rich-grid-row > #contents {
display: contents;
}
ytd-two-column-browse-results-renderer > #primary > ytd-rich-grid-renderer > #contents > ytd-rich-grid-row > #contents > ytd-rich-item-renderer {
width: calc(100% - var(--ytd-rich-grid-item-margin));
}

0 comments on commit 434fc67

Please sign in to comment.