forked from SpoTUI/SpoTUI
fix(theme): lyrics overlap with logo
This commit is contained in:
@@ -196,6 +196,11 @@ body.logo-off #spotui-logo {
|
|||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body.logo-on.spotui-lyrics-panel #spotui-lyrics {
|
||||||
|
height: 80vh !important;
|
||||||
|
margin-top: 15vh !important;
|
||||||
|
}
|
||||||
|
|
||||||
#spotui-lyrics {
|
#spotui-lyrics {
|
||||||
display: none;
|
display: none;
|
||||||
flex: 1 1 auto;
|
flex: 1 1 auto;
|
||||||
@@ -260,7 +265,7 @@ body.spotui-lyrics-panel #spotui-lyrics.spotui-lyrics-active {
|
|||||||
.spotui-lyrics-lines {
|
.spotui-lyrics-lines {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
padding: 18vh 28px;
|
padding: 10vh 28px;
|
||||||
scroll-behavior: smooth;
|
scroll-behavior: smooth;
|
||||||
scrollbar-width: none;
|
scrollbar-width: none;
|
||||||
-ms-overflow-style: none;
|
-ms-overflow-style: none;
|
||||||
@@ -1299,8 +1304,10 @@ async function execute(cmd) {
|
|||||||
function toggleLogo(state) {
|
function toggleLogo(state) {
|
||||||
if (state === "on") {
|
if (state === "on") {
|
||||||
document.body.classList.remove("logo-off");
|
document.body.classList.remove("logo-off");
|
||||||
|
document.body.classList.add("logo-on");
|
||||||
localStorage.setItem("spotui:logo-visible", "on");
|
localStorage.setItem("spotui:logo-visible", "on");
|
||||||
} else if (state === "off") {
|
} else if (state === "off") {
|
||||||
|
document.body.classList.remove("logo-on");
|
||||||
document.body.classList.add("logo-off");
|
document.body.classList.add("logo-off");
|
||||||
localStorage.setItem("spotui:logo-visible", "off");
|
localStorage.setItem("spotui:logo-visible", "off");
|
||||||
}
|
}
|
||||||
@@ -2260,6 +2267,8 @@ setTimeout(initLyricsBridge, 1000);
|
|||||||
|
|
||||||
if (localStorage.getItem("spotui:logo-visible") === "off") {
|
if (localStorage.getItem("spotui:logo-visible") === "off") {
|
||||||
document.body.classList.add("logo-off");
|
document.body.classList.add("logo-off");
|
||||||
|
} else {
|
||||||
|
document.body.classList.add("logo-on");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Spicetify?.Platform) createTerminal();
|
if (Spicetify?.Platform) createTerminal();
|
||||||
|
|||||||
@@ -353,6 +353,12 @@ body.spotui-lyrics-open .lyrics-lyricsContainer-LyricsLine {
|
|||||||
line-height: 1.55 !important;
|
line-height: 1.55 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body.logo-on.spotui-lyrics-open .Root__right-sidebar {
|
||||||
|
height: 85% !important;
|
||||||
|
top: auto !important;
|
||||||
|
bottom: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
.Root__main-view,
|
.Root__main-view,
|
||||||
.main-view-container,
|
.main-view-container,
|
||||||
.main-buddy-list,
|
.main-buddy-list,
|
||||||
|
|||||||
Reference in New Issue
Block a user