CSS fix (player.css)- album art clipping
This commit is contained in:
@@ -35,25 +35,21 @@ body {
|
||||
|
||||
/* Album cover section */
|
||||
.album-cover {
|
||||
flex: 0 0 30%; /* Fixed ~30% width */
|
||||
aspect-ratio: 1 / 1;
|
||||
width: 100%;
|
||||
max-width: 30%;
|
||||
height: 100%;
|
||||
overflow: hidden; /* Prevent image spill */
|
||||
min-width: 0; /* Fix flex overflow */
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/* Album cover image */
|
||||
.album-cover > img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
aspect-ratio: 1;
|
||||
transition: 300ms;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
|
||||
.album-cover > img:hover {
|
||||
opacity: 0.7;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* Player info and controls */
|
||||
|
Reference in New Issue
Block a user