mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 18:44:16 +00:00
improve track cover image render
This commit is contained in:
parent
54c7c3c59d
commit
06dcf0b961
@ -67,8 +67,11 @@ html {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.music-track_background {
|
.music-track_background {
|
||||||
background:
|
background: linear-gradient(
|
||||||
linear-gradient(to right, rgba(var(--cover_average-color)), transparent),
|
to right,
|
||||||
|
rgba(var(--cover_average-color)),
|
||||||
|
transparent
|
||||||
|
),
|
||||||
url(https://grainy-gradients.vercel.app/noise.svg);
|
url(https://grainy-gradients.vercel.app/noise.svg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -192,7 +195,7 @@ html {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
||||||
object-fit: cover;
|
object-fit: contain;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user