mirror of
https://github.com/morpheusthewhite/spicetify-themes.git
synced 2024-11-22 02:42:54 +01:00
fix(Dribbblish): functional playlist image (#793)
This commit is contained in:
parent
dd7a7e13e0
commit
2f25fa371e
@ -35,8 +35,8 @@ function waitForElement(els, func, timeout = 100) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
waitForElement([
|
waitForElement([
|
||||||
`.main-rootlist-rootlistPlaylistsScrollNode ul[tabindex="0"]`,
|
`ul[tabindex="0"]`,
|
||||||
`.main-rootlist-rootlistPlaylistsScrollNode ul[tabindex="0"] li`
|
`ul[tabindex="0"] .GlueDropTarget--playlists.GlueDropTarget--folders`
|
||||||
], ([root, firstItem]) => {
|
], ([root, firstItem]) => {
|
||||||
const listElem = firstItem.parentElement;
|
const listElem = firstItem.parentElement;
|
||||||
root.classList.add("dribs-playlist-list");
|
root.classList.add("dribs-playlist-list");
|
||||||
@ -152,7 +152,7 @@ waitForElement([".Root__main-view .os-resize-observer-host"], ([resizeHost]) =>
|
|||||||
progBar.append(tooltip);
|
progBar.append(tooltip);
|
||||||
|
|
||||||
const progKnob = progBar.querySelector(".progress-bar__slider");
|
const progKnob = progBar.querySelector(".progress-bar__slider");
|
||||||
|
|
||||||
function updateProgTime({ data: e }) {
|
function updateProgTime({ data: e }) {
|
||||||
const offsetX = progKnob.offsetLeft + progKnob.offsetWidth / 2;
|
const offsetX = progKnob.offsetLeft + progKnob.offsetWidth / 2;
|
||||||
const maxWidth = progBar.offsetWidth;
|
const maxWidth = progBar.offsetWidth;
|
||||||
|
@ -487,7 +487,7 @@ html.sidebar-hide-text .main-rootlist-statusIcons {
|
|||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
display: flex;
|
display: flex;
|
||||||
height: 56px;
|
height: 56px;
|
||||||
padding: 0 12px;
|
padding: 0 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
img.playlist-picture {
|
img.playlist-picture {
|
||||||
|
Loading…
Reference in New Issue
Block a user