diff --git a/resources/snippets.json b/resources/snippets.json index c686176b..fcbf7ca7 100644 --- a/resources/snippets.json +++ b/resources/snippets.json @@ -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" }, {