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)";