fix bug 75998

This commit is contained in:
Konstantin Kireyev
2025-11-13 02:02:03 +05:00
parent bce05e66cf
commit 8407001da9
2 changed files with 12 additions and 11 deletions

View File

@ -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>',

View File

@ -386,9 +386,6 @@
div {
width: 100%;
height: 100%;
div{
background: ~"url(@{common-image-const-path}/doc-formats/formats.png)";
background-size: 1200px 30px;
svg {
display: none;
@ -400,6 +397,10 @@
}
}
div{
background: ~"url(@{common-image-const-path}/doc-formats/formats.png)";
background-size: 1200px 30px;
&:not(.svg-file-recent) {
.pixel-ratio__1_25 & {
background-image: ~"url(@{common-image-const-path}/doc-formats/formats@1.25x.png)";