From 7d0a8b789c2a4436f828ed9de3e09ef9d1db14e2 Mon Sep 17 00:00:00 2001 From: Michael Serajnik Date: Sun, 13 Aug 2017 01:06:12 +0200 Subject: [PATCH] client/css: fix broken post fit mode on iOS 10 With the way the post fit modes work, the image will always be displayed in full size on iOS 10 browser, regardless of the setting. Setting a max-width on the body fixes it. --- client/css/core-general.styl | 1 + 1 file changed, 1 insertion(+) diff --git a/client/css/core-general.styl b/client/css/core-general.styl index 9209bc30..92eb89f2 100644 --- a/client/css/core-general.styl +++ b/client/css/core-general.styl @@ -13,6 +13,7 @@ html height: 100% body + max-width: 100vw; min-height: 100% body