From a1b371cf9ca00a61c77176d7f9963d81dde2b948 Mon Sep 17 00:00:00 2001 From: Mario Sangiorgio Date: Tue, 29 Aug 2017 00:48:13 +0100 Subject: [PATCH] Improved the responsiveness of img. Without this tweak, when the viewport is smaller than the image, the image overflows the page. With this commit it will be resized to fit the available width. --- static/css/main.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/static/css/main.css b/static/css/main.css index 726c843..70d8ac4 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -88,3 +88,7 @@ a:hover { footer { border-bottom: var(--border-width) solid var(--accent); } + +img { + max-width: 100%; +} \ No newline at end of file