Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(snippets): add snippet to Reorder the Now Playing View #776

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions resources/snippets.json
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,11 @@
"preview": "resources/assets/snippets/More-Visible-Unplayable-Tracks"
},
{
"title": "Reorder Now Playing View",
"description": "Changes the order in which the elements are displayed in the Now Playing View to: 1. Next in queue, 2. Now playing, 3. Lyrics, 4. About the artist, 5. Credits, 6. On tour, 7. Merch",
"code": "/* Now Playing */\n .main-nowPlayingView-nowPlayingWidget {\n order: 2;\n }\n /* Lyrics */\n .main-nowPlayingView-sectionHeaderSpacing {\n order: 3;\n }\n /* About */\n .main-nowPlayingView-aboutArtistV2 {\n order: 4;\n }\n /* Credits */\n .main-nowPlayingView-credits {\n order: 5;\n }\n /* Tour */\n .main-nowPlayingView-artistOnTour {\n order: 6;\n }\n /* Merch */\n .main-nowPlayingView-merch {\n order: 7;\n }\n /* Queue */\n .main-nowPlayingView-queue {\n order: 1;\n }\n",
"preview": "resources/assets/snippets/reorder-now-playing-view.png"
},
"title": "Hide Mini Player Button",
"description": "Hides the Mini Player button.",
"code": "button:has(path[d='M16 2.45c0-.8-.65-1.45-1.45-1.45H1.45C.65 1 0 1.65 0 2.45v11.1C0 14.35.65 15 1.45 15h5.557v-1.5H1.5v-11h13V7H16V2.45z']) {display: none;}",
Expand Down
Loading