Skip to content

Commit

Permalink
fix: spicetify#832 update scrollbar snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
sanoojes committed Sep 15, 2024
1 parent fcdd043 commit b284bb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/snippets.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,13 +158,13 @@
{
"title": "Hide Sidebar ScrollBar",
"description": "Hides Sidebar ScrollBar near playlist section",
"code": ".os-scrollbar:nth-child(6) .os-scrollbar-handle { visibility: hidden; }",
"code": "#Desktop_LeftSidebar_Id .os-scrollbar-handle, .Root__nav-bar .os-scrollbar-handle, #Desktop_LeftSidebar_Id .os-scrollbar-track, .Root__nav-bar .os-scrollbar-track { visibility: hidden; }",
"preview": "resources/assets/snippets/hide-sidebar-scrollbar.png"
},
{
"title": "Modern ScrollBar",
"description": "Thin rounded modern scrollbar",
"code": ".os-theme-spotify.os-host-transition > .os-scrollbar-vertical > .os-scrollbar-track > .os-scrollbar-handle { border-radius: 4px; width: 6px; background-color: var(--spice-button-disabled); } .os-theme-spotify.os-host-transition > .os-scrollbar-vertical > .os-scrollbar-track { width: 6px; }",
"code": ".os-scrollbar-handle { width:0.25rem!important;border-radius:10rem !important; transition: width 300ms ease-in-out; } .os-scrollbar-handle:focus,.os-scrollbar-handle:focus-within,.os-scrollbar-handle:hover { width:0.35rem!important }",
"preview": "resources/assets/snippets/modern-scrollbar.png"
},
{
Expand Down

0 comments on commit b284bb3

Please sign in to comment.