commit: 5b63a7dd50fea3962a91e0626c8d0cd9e32fd010
parent 517b6a774b8d0089a833b3f830240f73240c6aa0
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 {