fix(Dribbblish): functional playlist image (#793)

This commit is contained in:
Nam Anh 2022-07-01 23:41:40 +07:00 committed by GitHub
parent dd7a7e13e0
commit 2f25fa371e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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 {