[common] logo didn't show in FF and IE

This commit is contained in:
Maxim Kadushkin 2018-11-02 11:30:47 +03:00
parent 7dced037a3
commit 77e5116475
2 changed files with 10 additions and 7 deletions

View file

@ -61,7 +61,7 @@ define([
this.template = _.template([ this.template = _.template([
'<table id="id-about-licensor-logo" cols="1" style="width: 100%; margin-top: 20px;">', '<table id="id-about-licensor-logo" cols="1" style="width: 100%; margin-top: 20px;">',
'<tr>', '<tr>',
'<td align="center"><div><img class="asc-about-office"></div></td>', '<td align="center"><div class="asc-about-office"></div></td>',
'</tr>', '</tr>',
'<tr>', '<tr>',
'<td align="center"><label class="asc-about-version">' + options.appName.toUpperCase() + '</label></td>', '<td align="center"><label class="asc-about-version">' + options.appName.toUpperCase() + '</label></td>',

View file

@ -2,13 +2,16 @@
.asc-about-office { .asc-about-office {
background-repeat: no-repeat; background-repeat: no-repeat;
margin-bottom: 5px; margin-bottom: 5px;
content: data-uri('@{common-image-path}/about/logo.png');
@media &:before {
only screen and (-webkit-min-device-pixel-ratio: 2), content: data-uri('@{common-image-path}/about/logo.png');
only screen and (min-resolution: 2dppx),
only screen and (min-resolution: 192dpi) { @media
content: data-uri('@{common-image-path}/about/logo@2x.png'); 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');
}
} }
} }