From e4c45d5223ff527c6437626517340df91b4d5c3f Mon Sep 17 00:00:00 2001 From: Maxim Kadushkin Date: Mon, 7 Oct 2019 15:44:14 +0300 Subject: [PATCH] [common] load app logo from url instead of base64 source --- apps/common/main/resources/less/header.less | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/apps/common/main/resources/less/header.less b/apps/common/main/resources/less/header.less index 81e8eebe2..f7b26b5a6 100644 --- a/apps/common/main/resources/less/header.less +++ b/apps/common/main/resources/less/header.less @@ -141,7 +141,18 @@ height: 20px; display: inline-block; vertical-align: middle; - .background-ximage('@{common-image-path}/header/header-logo.png', '@{common-image-path}/header/header-logo@2x.png', 86px); + + background-image: url('@{common-image-path}/header/header-logo.png'); + background-repeat: no-repeat; + + @media + only screen and (-webkit-min-device-pixel-ratio: 2), + only screen and (min-resolution: 2dppx), + only screen and (min-resolution: 192dpi) { + background-image: url('@{common-image-path}/header/header-logo@2x.png'); + background-size: 86px auto; + } + } &.link img {