commit: 2fea25fbc68e2b8e38aa5a5c7df94839515c9e6f
parent 582cd3c33defb35e5e19112274bf6750b222ad6b
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Mon, 13 Jul 2020 22:02:12 +0200
css/index.css: Fix `figure img` sizing
Diffstat:
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/css/index.css b/css/index.css
@@ -157,11 +157,9 @@ figure {
text-align: center;
}
#art img, figure img {
- max-width: 95vw;
- max-height: 95vh;
+ max-width: 100%;
+ max-height: 100%;
object-fit: scale-down;
- width: 100%;
- height: 100%;
}
nav, footer {