From 94b58f321751c1bbf075a1a40fbf09f71f3f89e2 Mon Sep 17 00:00:00 2001 From: Morgan Bazalgette Date: Fri, 12 Jan 2018 21:01:42 +0100 Subject: [PATCH] Add image max width (#49) * Add image max width Fixes #48 * Only apply rule to `article img` --- src/main.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main.scss b/src/main.scss index 2758ee8..331af25 100644 --- a/src/main.scss +++ b/src/main.scss @@ -68,3 +68,8 @@ aside ul.nav { } } } + +// see https://github.com/go-gitea/theme/issues/48 +article img { + max-width: 100%; +}