]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
docs: contain image sizing and prevent overflow on mobile
authorRito Rhymes <rito@ritovision.com>
Thu, 12 Mar 2026 01:55:22 +0000 (21:55 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 12 Mar 2026 08:38:03 +0000 (09:38 +0100)
`max-width: 100%` keeps images from expanding beyond
their container and creating horizontal overflow scroll
on small screens.

`height: auto` ensures the image scales proportionally
when width is adjusted.

docs/style.css

index 1f98b6bacf3d52186fe66c3047ec9c3e381b9ae7..d5072cca8a15d335e374baeeb71746fffc1b1d4f 100644 (file)
@@ -116,6 +116,10 @@ a {
 a:hover {
   text-decoration: underline;
 }
+img {
+  max-width: 100%;
+  height: auto;
+}
 b {
   font-weight: 600;
 }