add background-color behind .track img

This commit is contained in:
Timothée Goguely 2025-06-06 13:33:18 +02:00
parent c2374f3fc6
commit 2705b73492

View file

@ -24,12 +24,12 @@
position: relative; position: relative;
} }
.track img { .track img {
display: block; width: 100%;
position: absolute; height: 100%;
inset: 0;
width: inherit;
height: inherit;
object-fit: contain; object-fit: contain;
background-color: var(--bg-color, transparent);
margin: auto;
border-radius: var(--rounded-lg);
} }
.track fieldset { .track fieldset {
--p: 0rem; --p: 0rem;