Skip to content

Commit

Permalink
Add minor improvements on showing enlarged album covers
Browse files Browse the repository at this point in the history
From now on artist and song title label is hidden.
The div opacity was increased a little, too.
  • Loading branch information
rafael-santiago committed Nov 27, 2024
1 parent 4bacd67 commit c5ca550
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/web/css/eutherpe.css
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ img {
width: 100vw;
height: 100vh;
font-family: "Sabo-Regular";
background-color: rgba(0, 0, 0, 0.1);
background-color: rgba(0, 0, 0, 0.5);
overflow: auto;
}
ul, #eutherpeUL {
Expand Down
2 changes: 2 additions & 0 deletions src/web/js/eutherpe.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ function closeAlbumCoverViewer() {
document.getElementById("enlargedAlbumCover").src = "";
document.getElementById("AlbumCoverViewer").style.display = "none";
document.getElementById("AlbumCoverDiv").style.display = "block";
document.getElementById("NowPlayingDiv").style.display = "block";
}

function openAlbumCoverViewer() {
Expand All @@ -140,6 +141,7 @@ function openAlbumCoverViewer() {
}
document.getElementById("enlargedAlbumCover").src = albumCover.src;
document.getElementById("AlbumCoverDiv").style.display = "none";
document.getElementById("NowPlayingDiv").style.display = "none";
document.getElementById("AlbumCoverViewer").style.display = "block";
}

Expand Down

0 comments on commit c5ca550

Please sign in to comment.