diff --git a/Dribbblish/dribbblish.js b/Dribbblish/dribbblish.js index 8919ca4..b5d059f 100644 --- a/Dribbblish/dribbblish.js +++ b/Dribbblish/dribbblish.js @@ -35,8 +35,8 @@ function waitForElement(els, func, timeout = 100) { } waitForElement([ - `.main-rootlist-rootlistPlaylistsScrollNode ul[tabindex="0"]`, - `.main-rootlist-rootlistPlaylistsScrollNode ul[tabindex="0"] li` + `ul[tabindex="0"]`, + `ul[tabindex="0"] .GlueDropTarget--playlists.GlueDropTarget--folders` ], ([root, firstItem]) => { const listElem = firstItem.parentElement; root.classList.add("dribs-playlist-list"); @@ -152,7 +152,7 @@ waitForElement([".Root__main-view .os-resize-observer-host"], ([resizeHost]) => progBar.append(tooltip); const progKnob = progBar.querySelector(".progress-bar__slider"); - + function updateProgTime({ data: e }) { const offsetX = progKnob.offsetLeft + progKnob.offsetWidth / 2; const maxWidth = progBar.offsetWidth; diff --git a/Dribbblish/user.css b/Dribbblish/user.css index 33204f8..30e03f4 100644 --- a/Dribbblish/user.css +++ b/Dribbblish/user.css @@ -487,7 +487,7 @@ html.sidebar-hide-text .main-rootlist-statusIcons { border-radius: 4px; display: flex; height: 56px; - padding: 0 12px; + padding: 0 20px; } img.playlist-picture {