From dbb669246898c2a8bee22624df3a8816df8a0fcd Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Tue, 29 Sep 2015 18:15:15 +0200 Subject: [IE8] Fix filetype icon sizes Added hack that uses a "filter" CSS with explicit URL to fix the "New" menu by scaling down icons and also fix the folder/filetype icon in the sidebar by scaling it up. --- apps/files/js/mainfileinfodetailview.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/files/js/mainfileinfodetailview.js') diff --git a/apps/files/js/mainfileinfodetailview.js b/apps/files/js/mainfileinfodetailview.js index 82cca0d0fb3..bdec9c08509 100644 --- a/apps/files/js/mainfileinfodetailview.js +++ b/apps/files/js/mainfileinfodetailview.js @@ -131,6 +131,7 @@ } else { // TODO: special icons / shared / external $iconDiv.css('background-image', 'url("' + OC.MimeType.getIconUrl('dir') + '")'); + OC.Util.scaleFixForIE8($iconDiv); } this.$el.find('[title]').tooltip({placement: 'bottom'}); } else { @@ -193,6 +194,7 @@ $iconDiv.css({ 'background-image': 'url("' + $iconDiv.previewImg + '")' }); + OC.Util.scaleFixForIE8($iconDiv); }.bind(this) }); } -- cgit v1.2.3