From fbfe0c1e6fcc9378feb29ab4da7f13283783d6f4 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Fri, 20 Jul 2018 12:03:49 +0930 Subject: [PATCH] Revert Chrome image rendering tweak The Chrome bug appears to have been fixed: https://bugs.chromium.org/p/chromium/issues/detail?id=562162 This CSS rule makes images look very ugly in Safari, so removing it. ref #1259 --- framework/core/less/common/App.less | 2 -- framework/core/less/common/Avatar.less | 2 -- 2 files changed, 4 deletions(-) diff --git a/framework/core/less/common/App.less b/framework/core/less/common/App.less index 0ee490ba5..c8af74833 100644 --- a/framework/core/less/common/App.less +++ b/framework/core/less/common/App.less @@ -171,8 +171,6 @@ .Header-logo { max-height: 30px; vertical-align: middle; - // Prevent blurriness in Chrome - image-rendering: -webkit-optimize-contrast; } // On phones, the header is displayed inside of the drawer. We lay its diff --git a/framework/core/less/common/Avatar.less b/framework/core/less/common/Avatar.less index b65e014c8..5fe5054c8 100644 --- a/framework/core/less/common/Avatar.less +++ b/framework/core/less/common/Avatar.less @@ -14,8 +14,6 @@ height: 100%; border-radius: 100%; vertical-align: top; - // Prevent blurriness in Chrome - image-rendering: -webkit-optimize-contrast; } }