Skip to content

Commit

Permalink
fix(snippets): smaller right sidebar cover art (#892)
Browse files Browse the repository at this point in the history
* fix(snippets): Smaller right sidebar covert art

* fix(snippets): smaller right sidebar covert art

remove :before overlay

* fix: spelling mistake
  • Loading branch information
Climax12 authored Feb 9, 2025
1 parent d392269 commit a9e6bf3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions resources/snippets.json
Original file line number Diff line number Diff line change
Expand Up @@ -336,9 +336,9 @@
"preview": "resources/assets/snippets/hide-download-button.png"
},
{
"title": "Smaller right sidebar covert art",
"description": "Makes the right sidebar cover art smaller and move the track info to the right",
"code": ":root { --right-sidebar-cover-art-size: 85px; } \n.main-nowPlayingView-coverArt { width: var(--right-sidebar-cover-art-size); } \n.main-nowPlayingView-coverArtContainer { min-height: unset !important; height: var(--right-sidebar-cover-art-size) !important; } \n.main-nowPlayingView-nowPlayingGrid { flex-direction: unset; } \n.main-nowPlayingView-contextItemInfo .main-trackInfo-name { font-size: 1.25rem; } \n.main-nowPlayingView-contextItemInfo .main-trackInfo-artists { font-size: 0.85rem; }",
"title": "Smaller right sidebar cover art",
"description": "Makes the right sidebar cover art smaller and move the track info to the right.",
"code": ":root { --right-sidebar-cover-art-size: 85px; } \n.main-nowPlayingView-coverArt { width: var(--right-sidebar-cover-art-size); } \n.main-nowPlayingView-coverArtContainer { min-height: unset !important; height: var(--right-sidebar-cover-art-size) !important; } \n.main-nowPlayingView-nowPlayingGrid { flex-direction: row !important; align-items: center; gap: 100px; } \n.main-nowPlayingView-contextItemInfo { flex: 1; min-width: 0; } \n.main-nowPlayingView-contextItemInfo .main-trackInfo-name { font-size: 1.25rem; } \n.main-nowPlayingView-contextItemInfo .main-trackInfo-artists { font-size: 0.85rem; } \n.main-nowPlayingView-contextItemInfo:before { display: none !important; } ",
"preview": "resources/assets/snippets/smaller-right-sidebar-cover.png"
},
{
Expand Down

0 comments on commit a9e6bf3

Please sign in to comment.