From: Mike Frysinger Date: Tue, 11 Aug 2026 16:35:54 +0000 (+0545) Subject: screenshots: scale images down to the width of the screen X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=d28be1c2cb43780a519d72581bbed0486c5675e5;p=nano-editor.git screenshots: scale images down to the width of the screen Most of the time this won't matter, but on mobile devices, it'll scale down to the width of the screen automatically to make it all visible. Legibility isn't super important in this scenario. --- diff --git a/style.css b/style.css index 2053598..904ef61 100644 --- a/style.css +++ b/style.css @@ -161,6 +161,10 @@ div#bottom span.menuitem { white-space: nowrap; } +#screenshots img { + max-width: 100%; +} + /* Mobile (i.e. phones) */ @media only screen and (max-width: 768px) { body {