From 34c486175735dd2f546683883cda2542b4533053 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sun, 30 Jul 2023 21:54:14 -0300 Subject: css: make images not expand to fit Which apparently doesn't break anything, surprisingly. --- src/static/site4.css | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/static') diff --git a/src/static/site4.css b/src/static/site4.css index 6a23ff40..b4e23cf2 100644 --- a/src/static/site4.css +++ b/src/static/site4.css @@ -549,8 +549,8 @@ a.box:focus:not(:focus-visible) { a.box img { display: block; - width: 100%; - height: 100%; + max-width: 100%; + height: auto; } h1 { @@ -769,7 +769,6 @@ li > ul { background-color: var(--dim-color); color: white; display: inline-block; - width: 100%; height: 100%; } -- cgit 1.3.0-6-gf8a5