diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-07-30 21:54:14 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-07-30 21:54:14 -0300 |
commit | 34c486175735dd2f546683883cda2542b4533053 (patch) | |
tree | 0d2271e76f6fc7a2fdde5a025bf5bbf4537ac303 | |
parent | 6c2dea8ec54a4dd48a9107d8a61fe151e9aace37 (diff) |
css: make images not expand to fit
Which apparently doesn't break anything, surprisingly.
-rw-r--r-- | src/static/site4.css | 5 |
1 files changed, 2 insertions, 3 deletions
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%; } |