Skip to content

Commit

Permalink
Merge pull request #32 from MatheusR42/feature/show-playlist-panel
Browse files Browse the repository at this point in the history
playlist panel view
  • Loading branch information
ephraimduncan authored Apr 21, 2024
2 parents bdcb025 + 3197e29 commit 3b179aa
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,24 @@ body {
display: none;
}

/* code to show playlist panel when it is a video from a playlist */
#columns #secondary #secondary-inner > * {
display: none;
}

#columns #secondary #secondary-inner > #playlist {
display: block;
}

#columns #secondary:has(ytd-playlist-panel-video-renderer) {
display: flex;
}

#columns.ytd-watch-flexy:has(ytd-playlist-panel-video-renderer) {
align-items: flex-start;
}
/* code to show playlist panel when is a video from a playlist */

#columns #primary {
max-width: fit-content;
}
Expand Down

0 comments on commit 3b179aa

Please sign in to comment.