File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3030 }
3131
3232 function checkMenu() {
33- const currentSong = document .getElementById (" current song" );
34- if (currentSong === null ) {
35- return ;
36- }
37- if (! isMenuOpen || focusedSong .charts .length === 0 ) {
38- currentSong .classList .add (" max-h-[300px]" );
39- } else if (isMenuOpen && focusedSong .charts .length > 0 ) {
40- currentSong .classList .remove (" max-h-[300px]" );
41- }
33+ // const currentSong = document.getElementById("current song");
34+ // if (currentSong === null) {
35+ // return;
36+ // }
37+ // if (!isMenuOpen || focusedSong.charts.length === 0) {
38+ // currentSong.classList.add("max-h-[300px]");
39+ // currentSong.classList.remove("max-h-screen");
40+ // } else if (isMenuOpen && focusedSong.charts.length > 0) {
41+ // currentSong.classList.remove("max-h-[300px]");
42+ // currentSong.classList.add("max-h-screen");
43+ // }
4244 }
4345
4446 function checkScreenSize() {
6971
7072<div
7173 id =" current song"
72- class =" w-screen md:w-1/2 h-screen max-h-screen md:max-h-full flex items-center bg-darknavy relative"
74+ class =" w-screen md:w-1/2 h-auto max-h-screen md:max-h-full flex items-center bg-darknavy relative"
7375>
74- <canvas id =" arrowsbg" class =" absolute inset-0 w-full z-0" ></canvas >
76+ <canvas id =" arrowsbg" class =" absolute inset-0 w-full z-0 flex flex-col"
77+ ></canvas >
7578 {#if ! isNaN (currentIndex )}
7679 <div
77- class =" flex flex-col items-center z-1 relative w-full h-full items-center justify-center"
80+ id =" info"
81+ class =" flex flex-col items-center z-1 relative w-full items-center justify-center"
7882 >
7983 <div class =" bg-navy w-full max-w-[750px] flex flex-col items-left" >
8084 {#if focusedSong .banner }
You can’t perform that action at this time.
0 commit comments