Fix back cover artwork scaling — use explicit width/height instead of inset
object-fit: cover on <img> requires explicit dimensions; inset:0 alone does not force the element size in Chromium. Mirrors the same approach already used for .front-artwork. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -195,7 +195,9 @@
|
|||||||
/* Optional back cover artwork */
|
/* Optional back cover artwork */
|
||||||
.back-artwork {
|
.back-artwork {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
inset: 0;
|
top: 0; left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
opacity: 0.35;
|
opacity: 0.35;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user