diff --git a/apps/common/main/lib/view/Header.js b/apps/common/main/lib/view/Header.js index ee3ed54e5..e05dad4ba 100644 --- a/apps/common/main/lib/view/Header.js +++ b/apps/common/main/lib/view/Header.js @@ -89,8 +89,8 @@ define([ '' + ''; - var templateLeftBox = '
' + - '' + + var templateLeftBox = ''; function onAddUser(model, collection, opts) { diff --git a/apps/common/main/resources/img/header/header-logo.png b/apps/common/main/resources/img/header/header-logo.png index ba5493b30..5baf86a66 100644 Binary files a/apps/common/main/resources/img/header/header-logo.png and b/apps/common/main/resources/img/header/header-logo.png differ diff --git a/apps/common/main/resources/img/header/header-logo@2x.png b/apps/common/main/resources/img/header/header-logo@2x.png index c4cd01329..212d5180e 100644 Binary files a/apps/common/main/resources/img/header/header-logo@2x.png and b/apps/common/main/resources/img/header/header-logo@2x.png differ diff --git a/apps/common/main/resources/less/header.less b/apps/common/main/resources/less/header.less index be78c32a1..be04a942c 100644 --- a/apps/common/main/resources/less/header.less +++ b/apps/common/main/resources/less/header.less @@ -77,9 +77,19 @@ height: 100%; cursor: pointer; - .background-ximage('@{common-image-path}/header/logo.png', '@{common-image-path}/header/logo.png', 240px); - background-size: contain; - background-repeat: no-repeat; + line-height: @height-tabs; + text-align: center; + + img { + content: data-uri('@{common-image-path}/header/header-logo.png'); + + @media + only screen and (-webkit-min-device-pixel-ratio: 2), + only screen and (min-resolution: 2dppx), + only screen and (min-resolution: 192dpi) { + content: data-uri('@{common-image-path}/header/header-logo@2x.png'); + } + } } .status-label {