diff --git a/apps/documenteditor/main/app/view/FileMenuPanels.js b/apps/documenteditor/main/app/view/FileMenuPanels.js
index 50c45fba9..2967be441 100644
--- a/apps/documenteditor/main/app/view/FileMenuPanels.js
+++ b/apps/documenteditor/main/app/view/FileMenuPanels.js
@@ -655,9 +655,9 @@ define([
'<% _.each(docs, function(item) { %>',
'
',
'
\")' +
- ' } else { ' +
+ '<% if (!_.isEmpty(item.icon)) { %> ',
+ ' style="background-image: url(<%= item.icon %>);">',
+ '<% } else { ' +
'print(\">\")' +
' } %>',
'
',
diff --git a/apps/documenteditor/main/resources/less/filemenu.less b/apps/documenteditor/main/resources/less/filemenu.less
index d81b84a87..fbf3a4730 100644
--- a/apps/documenteditor/main/resources/less/filemenu.less
+++ b/apps/documenteditor/main/resources/less/filemenu.less
@@ -196,6 +196,7 @@
.thumb {
width: 102px;
height: 128px;
+ background-repeat: no-repeat;
}
.title {
diff --git a/apps/presentationeditor/main/app/view/FileMenuPanels.js b/apps/presentationeditor/main/app/view/FileMenuPanels.js
index 2f4aa9aea..5cfb38c5f 100644
--- a/apps/presentationeditor/main/app/view/FileMenuPanels.js
+++ b/apps/presentationeditor/main/app/view/FileMenuPanels.js
@@ -564,9 +564,9 @@ define([
'<% _.each(docs, function(item) { %>',
'
',
'
\")' +
- ' } else { ' +
+ '<% if (!_.isEmpty(item.icon)) { %> ',
+ ' style="background-image: url(<%= item.icon %>);">',
+ '<% } else { ' +
'print(\">\")' +
' } %>',
'
',
diff --git a/apps/presentationeditor/main/resources/less/leftmenu.less b/apps/presentationeditor/main/resources/less/leftmenu.less
index b3c5ef74a..5b7afd026 100644
--- a/apps/presentationeditor/main/resources/less/leftmenu.less
+++ b/apps/presentationeditor/main/resources/less/leftmenu.less
@@ -262,6 +262,7 @@
.thumb {
width: 102px;
height: 128px;
+ background-repeat: no-repeat;
}
.title {
diff --git a/apps/spreadsheeteditor/main/app/view/FileMenuPanels.js b/apps/spreadsheeteditor/main/app/view/FileMenuPanels.js
index ead372a55..6a8dd83de 100644
--- a/apps/spreadsheeteditor/main/app/view/FileMenuPanels.js
+++ b/apps/spreadsheeteditor/main/app/view/FileMenuPanels.js
@@ -1378,9 +1378,9 @@ define([
'<% _.each(docs, function(item) { %>',
'
',
'
\")' +
- ' } else { ' +
+ '<% if (!_.isEmpty(item.icon)) { %> ',
+ ' style="background-image: url(<%= item.icon %>);">',
+ '<% } else { ' +
'print(\">\")' +
' } %>',
'
',
diff --git a/apps/spreadsheeteditor/main/resources/less/leftmenu.less b/apps/spreadsheeteditor/main/resources/less/leftmenu.less
index ee420a7a1..ef9af3ae0 100644
--- a/apps/spreadsheeteditor/main/resources/less/leftmenu.less
+++ b/apps/spreadsheeteditor/main/resources/less/leftmenu.less
@@ -315,6 +315,7 @@
.thumb {
width: 102px;
height: 128px;
+ background-repeat: no-repeat;
}
.title {