commit: 3fa339a57594daaf82949e7a1a21ec7319d599ca
parent c6312876b5940471acc2f8157dcca09886fc092b
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Tue, 30 Aug 2016 11:14:31 +0200
css/index.css: art object-fit
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/css/index.css b/css/index.css
@@ -4,7 +4,7 @@
margin: 1em;
}
#art, header { text-align: center; }
-#art img { width: 100%; max-width: 95vw; max-height: 95vh; }
+#art img { width: 100%; max-width: 95vw; max-height: 95vh; object-fit: contain;}
.warn {
background-color: rgba(255, 60, 0, 0.2);
border-bottom: 0.125em solid #dc322f;