From 7872296ee392d789f078e5a0ec44fd726e3e8111 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Mon, 25 Nov 2024 15:56:51 -0800 Subject: [PATCH] Images in small figures can grow to 480px Set max-width to 480px, rather than an explicit width. Images smaller than 480px were being stretched. --- assets/css/050_figures.css | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/assets/css/050_figures.css b/assets/css/050_figures.css index a426a63..971836c 100644 --- a/assets/css/050_figures.css +++ b/assets/css/050_figures.css @@ -60,8 +60,7 @@ margin-inline: auto; img { - max-width: 100%; - width: 480px; + max-width: 480px; } }