diff options
Diffstat (limited to 'apps/files')
-rw-r--r-- | apps/files/css/files.scss | 1 | ||||
-rw-r--r-- | apps/files/js/filelist.js | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/apps/files/css/files.scss b/apps/files/css/files.scss index 8c9995b222f..45c453e2b51 100644 --- a/apps/files/css/files.scss +++ b/apps/files/css/files.scss @@ -308,6 +308,7 @@ table td.filename .thumbnail { display: inline-block; width: 32px; height: 32px; + background-size: 32px; margin-left: 9px; margin-top: 9px; cursor: pointer; diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index cc23ac73979..c636544e6c2 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -1207,12 +1207,12 @@ td.append( '<input id="select-' + this.id + '-' + fileData.id + '" type="checkbox" class="selectCheckBox checkbox"/><label for="select-' + this.id + '-' + fileData.id + '">' + - '<div class="thumbnail" style="background-image:url(' + icon + '); background-size: 32px;"></div>' + + '<div class="thumbnail" style="background-image:url(' + icon + ');"></div>' + '<span class="hidden-visually">' + t('files', 'Select') + '</span>' + '</label>' ); } else { - td.append('<div class="thumbnail" style="background-image:url(' + icon + '); background-size: 32px;"></div>'); + td.append('<div class="thumbnail" style="background-image:url(' + icon + ');"></div>'); } var linkElem = $('<a></a>').attr({ "class": "name", |