1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-03 07:55:36 +00:00

change file icon size to 256 (#6490)

This commit is contained in:
Michael An
2024-08-05 21:04:31 +08:00
committed by GitHub
parent 5fbc14e089
commit 20cf8b7f58
47 changed files with 19 additions and 31 deletions

View File

@@ -40,7 +40,7 @@ class SearchedListItem extends React.Component {
render() {
let { item, currentItem } = this.props;
let folderIconUrl = item.link_content ? Utils.getFolderIconUrl(false, 192) : Utils.getDefaultLibIconUrl(false);
let fileIconUrl = item.is_dir ? folderIconUrl : Utils.getFileIconUrl(item.name, 192);
let fileIconUrl = item.is_dir ? folderIconUrl : Utils.getFileIconUrl(item.name);
let trClass = this.state.highlight ? 'tr-highlight' : '';
if (currentItem) {
if (item.repo_id === currentItem.repo_id && item.path === currentItem.path) {