Skip to content

Instantly share code, notes, and snippets.

@mary-ext
Last active August 8, 2024 11:37
Show Gist options
  • Save mary-ext/c302180ad93c5bc287d50f5a25d80b04 to your computer and use it in GitHub Desktop.
Save mary-ext/c302180ad93c5bc287d50f5a25d80b04 to your computer and use it in GitHub Desktop.
make youtube music good ublock filter
! 72px = height of now playing bar
! 24px = spacing between now playing bar and mini player
! 226px = height of mini player
music.youtube.com##ytmusic-app-layout > #content, ytmusic-two-column-browse-results-renderer[is-bauhaus-web-album-detail-page-redesign-enabled], ytmusic-two-column-browse-results-renderer[is-bauhaus-web-playlist-detail-page-redesign-enabled]:style(padding-bottom: calc(72px + 24px * 2 + 226px) !important)
! the "default" page styling adds in a margin instead of padding
music.youtube.com##ytmusic-app-layout > #content:style(margin-bottom: 0px !important)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment