add tmp option to test images

cleanup_stuff
Jon Eugster 3 years ago
parent 0a057913be
commit a1a6862b5a

@ -488,7 +488,8 @@ function Introduction({impressum, setImpressum}) {
<IntroductionPanel gameInfo={gameInfo} />
<div className="world-image-container empty">
{image &&
<img src={path.join("data", gameId, image)} alt="" />
// TODO: Temporary for testing
<img className={worldId=="Proposition" ? "cover" : "contain"} src={path.join("data", gameId, image)} alt="" />
}
</div>

@ -342,10 +342,15 @@ td code {
justify-content: center;
}
.world-image-container img {
.world-image-container img.contain {
object-fit: contain;
}
.world-image-container img.cover {
height: 100%;
object-fit: cover;
}
.typewriter-interface .proof {
background-color: #fff;
}

Loading…
Cancel
Save