[common] logo didn't show in FF and IE
This commit is contained in:
parent
7dced037a3
commit
77e5116475
|
@ -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>',
|
||||||
|
|
|
@ -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');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue