diff --git a/frontend/src/components/dirent-detail/detail-list-view.js b/frontend/src/components/dirent-detail/detail-list-view.js
index 6b0e2efaf2..b368f7a0d8 100644
--- a/frontend/src/components/dirent-detail/detail-list-view.js
+++ b/frontend/src/components/dirent-detail/detail-list-view.js
@@ -83,9 +83,6 @@ class DetailListView extends React.Component {
| |
- {gettext('Folder')} | {direntDetail.dir_count} |
- {gettext('File')} | {direntDetail.file_count} |
- {gettext('Size')} | {Utils.bytesToSize(direntDetail.size)} |
{gettext('Location')} | {position} |
{gettext('Last Update')} | {moment(direntDetail.mtime).format('YYYY-MM-DD')} |
diff --git a/frontend/src/components/dirent-detail/dirent-details.js b/frontend/src/components/dirent-detail/dirent-details.js
index 0963b66627..b1010861eb 100644
--- a/frontend/src/components/dirent-detail/dirent-details.js
+++ b/frontend/src/components/dirent-detail/dirent-details.js
@@ -113,7 +113,7 @@ class DirentDetail extends React.Component {
-

+
{' '}
{dirent.name}
diff --git a/frontend/src/components/dirent-detail/lib-details.js b/frontend/src/components/dirent-detail/lib-details.js
index b1ec425655..c9e87276d0 100644
--- a/frontend/src/components/dirent-detail/lib-details.js
+++ b/frontend/src/components/dirent-detail/lib-details.js
@@ -42,6 +42,11 @@ class LibDetail extends React.Component {
if (repo.permission === 'r' || repo.permission === 'preview') {
isReadOnly = true;
}
+ let titleIcon = Utils.getLibIconUrl({
+ is_encrypted: repo.encrypted,
+ is_readonly: isReadOnly,
+ size: Utils.isHiDPI() ? 48 : 24
+ });
let iconUrl = Utils.getLibIconUrl({
is_encrypted: repo.encrypted,
is_readonly: isReadOnly,
@@ -52,7 +57,7 @@ class LibDetail extends React.Component {
-

{' '}
+
{' '}
{repo.repo_name}
diff --git a/frontend/src/css/dirent-detail.css b/frontend/src/css/dirent-detail.css
index fd440dc20e..59655c6fd6 100644
--- a/frontend/src/css/dirent-detail.css
+++ b/frontend/src/css/dirent-detail.css
@@ -30,6 +30,7 @@
display: flex;
flex: 1;
justify-content: center;
+ align-items: center;
width: 0; /* prevent strut flex layout */
}