From b284bb3a67d71b88d8abd9b17fc3f5af681edd87 Mon Sep 17 00:00:00 2001 From: Sanooj Es Date: Sun, 15 Sep 2024 11:11:25 +0530 Subject: [PATCH] fix: #832 update scrollbar snippets --- resources/snippets.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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" }, {