From 8407001da961cb8b910f72726e54f15f1d8d3d8e Mon Sep 17 00:00:00 2001 From: Konstantin Kireyev Date: Thu, 13 Nov 2025 02:02:03 +0500 Subject: [PATCH] fix bug 75998 --- apps/common/main/lib/view/RecentFiles.js | 2 +- .../main/resources/less/filemenu.less | 21 ++++++++++--------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/apps/common/main/lib/view/RecentFiles.js b/apps/common/main/lib/view/RecentFiles.js index 37d7888cf2..47fc67cce1 100644 --- a/apps/common/main/lib/view/RecentFiles.js +++ b/apps/common/main/lib/view/RecentFiles.js @@ -81,7 +81,7 @@ define([ '
', '
', '
', - '<%= format %><% } else { %>blank<% } %>">', + ' 0) { %><%= format %><% } else { %>neutral<% } %>">', '
"img-format-<%=format %>"<% } else {%> "svg-file-recent"<%} %>>
', '
', '
', diff --git a/apps/pdfeditor/main/resources/less/filemenu.less b/apps/pdfeditor/main/resources/less/filemenu.less index 59b69c34d2..73ab020473 100644 --- a/apps/pdfeditor/main/resources/less/filemenu.less +++ b/apps/pdfeditor/main/resources/less/filemenu.less @@ -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)";