mirror of
https://github.com/danbulant/dribbblish-dynamic-theme
synced 2026-06-24 17:22:11 +00:00
FIX: wrong font size for genre element
This commit is contained in:
parent
c9ec3971ad
commit
d7e355bf46
1 changed files with 2 additions and 2 deletions
|
|
@ -754,7 +754,7 @@ Dribbblish.on("ready", () => {
|
||||||
|
|
||||||
if (!document.getElementById("main-trackInfo-genre")) {
|
if (!document.getElementById("main-trackInfo-genre")) {
|
||||||
const el = document.createElement("div");
|
const el = document.createElement("div");
|
||||||
el.classList.add("standalone-ellipsis-one-line", "main-type-finale");
|
el.classList.add("main-trackInfo-release", "standalone-ellipsis-one-line", "main-type-finale");
|
||||||
el.setAttribute("as", "div");
|
el.setAttribute("as", "div");
|
||||||
el.id = "main-trackInfo-genre";
|
el.id = "main-trackInfo-genre";
|
||||||
document.querySelector(".main-trackInfo-container").append(el);
|
document.querySelector(".main-trackInfo-container").append(el);
|
||||||
|
|
@ -786,7 +786,7 @@ Dribbblish.on("ready", () => {
|
||||||
if (!album_uri.includes("spotify:episode")) {
|
if (!album_uri.includes("spotify:episode")) {
|
||||||
genres = await getGenres(artist_uri.replace("spotify:artist:", ""));
|
genres = await getGenres(artist_uri.replace("spotify:artist:", ""));
|
||||||
}
|
}
|
||||||
genreInfoSpan.innerHTML = `
|
genreInfoSpan.innerHTML = /* html */ `
|
||||||
<span>
|
<span>
|
||||||
<span draggable="true">
|
<span draggable="true">
|
||||||
<span draggable="false" dir="auto">${genres.join(", ")}</span>
|
<span draggable="false" dir="auto">${genres.join(", ")}</span>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue