diff --git a/frontend/src/components/dirent-list-view/dirent-list-item.js b/frontend/src/components/dirent-list-view/dirent-list-item.js index a9f7748af4..8be07d9a19 100644 --- a/frontend/src/components/dirent-list-view/dirent-list-item.js +++ b/frontend/src/components/dirent-list-view/dirent-list-item.js @@ -424,7 +424,7 @@ class DirentListItem extends React.Component {
- + {dirent.is_locked && {gettext('locked')}}
diff --git a/frontend/src/components/draft-list-view/draft-list-item.js b/frontend/src/components/draft-list-view/draft-list-item.js index c94f1e3d88..2eedec8904 100644 --- a/frontend/src/components/draft-list-view/draft-list-item.js +++ b/frontend/src/components/draft-list-view/draft-list-item.js @@ -58,7 +58,7 @@ class DraftListItem extends React.Component { localTime = moment(localTime).fromNow(); return ( - icon + icon {fileName} diff --git a/frontend/src/components/review-list-view/review-list-item.js b/frontend/src/components/review-list-view/review-list-item.js index 151e69060e..099c4683da 100644 --- a/frontend/src/components/review-list-view/review-list-item.js +++ b/frontend/src/components/review-list-view/review-list-item.js @@ -103,7 +103,7 @@ class ReviewListItem extends React.Component { return ( - icon + icon {fileName} {item.draft_origin_repo_name} {localTime} diff --git a/frontend/src/components/shared-repo-list-view/shared-repo-list-item.js b/frontend/src/components/shared-repo-list-view/shared-repo-list-item.js index 1b9eb38064..eafd8fb1da 100644 --- a/frontend/src/components/shared-repo-list-view/shared-repo-list-item.js +++ b/frontend/src/components/shared-repo-list-view/shared-repo-list-item.js @@ -293,7 +293,7 @@ class SharedRepoListItem extends React.Component { return ( - {iconTitle} + {iconTitle} {repo.repo_name} {this.state.isOperationShow && this.generatorPCMenu()} {repo.size} @@ -323,7 +323,7 @@ class SharedRepoListItem extends React.Component { return ( - {iconTitle}/ + {iconTitle}/ {repo.repo_name}
{repo.owner_name} diff --git a/frontend/src/components/tree-dir-view/tree-dir-list.js b/frontend/src/components/tree-dir-view/tree-dir-list.js index df0b50eebd..7b3894b48d 100644 --- a/frontend/src/components/tree-dir-view/tree-dir-list.js +++ b/frontend/src/components/tree-dir-view/tree-dir-list.js @@ -37,7 +37,7 @@ class TreeDirList extends React.Component { return ( - icon + icon {node.name} diff --git a/frontend/src/pages/my-libs/item.js b/frontend/src/pages/my-libs/item.js index 6399353b2c..6917478227 100644 --- a/frontend/src/pages/my-libs/item.js +++ b/frontend/src/pages/my-libs/item.js @@ -240,7 +240,7 @@ class Item extends Component { const desktopItem = ( - {data.icon_title} + {data.icon_title} {this.state.showChangeLibName && ( - {data.icon_title} + {data.icon_title} {data.repo_name ? {data.repo_name} : diff --git a/frontend/src/pages/share-admin/folders.js b/frontend/src/pages/share-admin/folders.js index 2e2670a0ae..8c39399fd6 100644 --- a/frontend/src/pages/share-admin/folders.js +++ b/frontend/src/pages/share-admin/folders.js @@ -149,7 +149,7 @@ class Item extends Component { return ( - {iconTitle} + {iconTitle} {item.folder_name} {shareTo} diff --git a/frontend/src/pages/share-admin/libraries.js b/frontend/src/pages/share-admin/libraries.js index 6d8b8398ff..1d330fe10e 100644 --- a/frontend/src/pages/share-admin/libraries.js +++ b/frontend/src/pages/share-admin/libraries.js @@ -169,7 +169,7 @@ class Item extends Component { return ( - {iconTitle} + {iconTitle} {item.repo_name} {shareTo} diff --git a/frontend/src/pages/share-admin/share-links.js b/frontend/src/pages/share-admin/share-links.js index ce39f4889a..e34a589c88 100644 --- a/frontend/src/pages/share-admin/share-links.js +++ b/frontend/src/pages/share-admin/share-links.js @@ -170,7 +170,7 @@ class Item extends Component { return ( - + {item.is_dir ? {item.obj_name} : diff --git a/frontend/src/pages/share-admin/upload-links.js b/frontend/src/pages/share-admin/upload-links.js index 56a6f07303..4006617e43 100644 --- a/frontend/src/pages/share-admin/upload-links.js +++ b/frontend/src/pages/share-admin/upload-links.js @@ -128,7 +128,7 @@ class Item extends Component { return ( - + {item.obj_name} {item.repo_name} {item.view_cnt} diff --git a/frontend/src/pages/shared-libs/shared-libs.js b/frontend/src/pages/shared-libs/shared-libs.js index deb8423673..a5b7310869 100644 --- a/frontend/src/pages/shared-libs/shared-libs.js +++ b/frontend/src/pages/shared-libs/shared-libs.js @@ -208,7 +208,7 @@ class Item extends Component { const desktopItem = ( - {data.icon_title} + {data.icon_title} {data.repo_name} {(isPro && data.is_admin) && @@ -237,7 +237,7 @@ class Item extends Component { const mobileItem = ( - {data.icon_title} + {data.icon_title} {data.repo_name}
{data.owner_name} diff --git a/frontend/src/pages/starred/starred.js b/frontend/src/pages/starred/starred.js index 40d2edef65..3a6722a811 100644 --- a/frontend/src/pages/starred/starred.js +++ b/frontend/src/pages/starred/starred.js @@ -168,7 +168,7 @@ class Item extends Component { { data.thumbnail_url ? : - {gettext('icon')} + {gettext('icon')} } @@ -192,7 +192,7 @@ class Item extends Component { { data.thumbnail_url ? : - {gettext('icon')} + {gettext('icon')} } diff --git a/media/css/seahub_react.css b/media/css/seahub_react.css index 0067b9fd56..2625be6f54 100644 --- a/media/css/seahub_react.css +++ b/media/css/seahub_react.css @@ -844,9 +844,9 @@ table td { word-break: break-all; } -table td img { - width: 1.5rem; - height: 1.5rem; +table td .icon { + width: 24px; + height: 24px; } .table-thead-hidden thead tr {