mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-02-10 18:05:32 +08:00
fix bug 75998
This commit is contained in:
@ -81,7 +81,7 @@ define([
|
||||
'<div class="recent-wrap">',
|
||||
'<div class="recent-icon">',
|
||||
'<div>',
|
||||
'<svg><use href="#<% if (typeof format !== "undefined") { %><%= format %><% } else { %>blank<% } %>"></use></svg>',
|
||||
'<svg><use href="#<% if (typeof format !== "undefined" && format?.length > 0) { %><%= format %><% } else { %>neutral<% } %>"></use></svg>',
|
||||
'<div class= <% if (typeof format !== "undefined") {%> "img-format-<%=format %>"<% } else {%> "svg-file-recent"<%} %>></div>',
|
||||
'</div>',
|
||||
'</div>',
|
||||
|
||||
@ -386,20 +386,21 @@
|
||||
div {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
svg {
|
||||
display: none;
|
||||
width: 24px;
|
||||
height: 30px;
|
||||
|
||||
.pixel-ratio__2_5 & {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
div{
|
||||
background: ~"url(@{common-image-const-path}/doc-formats/formats.png)";
|
||||
background-size: 1200px 30px;
|
||||
|
||||
svg {
|
||||
display: none;
|
||||
width: 24px;
|
||||
height: 30px;
|
||||
|
||||
.pixel-ratio__2_5 & {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
&:not(.svg-file-recent) {
|
||||
.pixel-ratio__1_25 & {
|
||||
background-image: ~"url(@{common-image-const-path}/doc-formats/formats@1.25x.png)";
|
||||
|
||||
Reference in New Issue
Block a user