diff --git a/apps/common/main/lib/view/About.js b/apps/common/main/lib/view/About.js index d40c8610f..c252cc06d 100644 --- a/apps/common/main/lib/view/About.js +++ b/apps/common/main/lib/view/About.js @@ -61,7 +61,7 @@ define([ this.template = _.template([ '', '', - '', + '', '', '', '', diff --git a/apps/common/main/resources/img/about/OnlyOffice.png b/apps/common/main/resources/img/about/logo.png similarity index 100% rename from apps/common/main/resources/img/about/OnlyOffice.png rename to apps/common/main/resources/img/about/logo.png diff --git a/apps/common/main/resources/img/about/OnlyOffice@2x.png b/apps/common/main/resources/img/about/logo@2x.png similarity index 100% rename from apps/common/main/resources/img/about/OnlyOffice@2x.png rename to apps/common/main/resources/img/about/logo@2x.png diff --git a/apps/common/main/resources/less/about.less b/apps/common/main/resources/less/about.less index 758f4032e..c0ec153b8 100644 --- a/apps/common/main/resources/less/about.less +++ b/apps/common/main/resources/less/about.less @@ -1,11 +1,15 @@ .about-dlg { .asc-about-office { background-repeat: no-repeat; - .background-ximage('@{common-image-path}/about/OnlyOffice.png', '@{common-image-path}/about/OnlyOffice@2x.png', 340px); - - width: 340px; - height: 55px; margin-bottom: 5px; + content: data-uri('@{common-image-path}/about/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}/about/logo@2x.png'); + } } .asc-about-header {