docs: contain image sizing and prevent overflow on mobile

`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.
This commit is contained in:
Rito Rhymes
2026-03-12 09:38:03 +01:00
committed by Zbigniew Jędrzejewski-Szmek
parent f18df62e71
commit e5a6cc3a6f
+4
View File
@@ -116,6 +116,10 @@ a {
a:hover {
text-decoration: underline;
}
img {
max-width: 100%;
height: auto;
}
b {
font-weight: 600;
}