diff --git a/resources/assets/js/pages/manage/file.vue b/resources/assets/js/pages/manage/file.vue
index 09ea28dfc..e9a1840a0 100644
--- a/resources/assets/js/pages/manage/file.vue
+++ b/resources/assets/js/pages/manage/file.vue
@@ -93,49 +93,51 @@
- -
-
-
+
-
+
+
+
+
+
+
+
+
+ {{$L('共享权限')}}: {{$L(item.permission == 1 ? '读/写' : '只读')}}
+
+
+
+
+
+
+
+ {{$L('成员创建于')}}: {{item.created_at}}
+ {{$L('所有者创建于')}}: {{item.created_at}}
+
+
+
+
+
{{$A.getFileName(item)}}
-
-
-
-
- {{$L('共享权限')}}: {{$L(item.permission == 1 ? '读/写' : '只读')}}
-
-
-
-
-
-
-
- {{$L('成员创建于')}}: {{item.created_at}}
- {{$L('所有者创建于')}}: {{item.created_at}}
-
-
-
-
- {{$A.getFileName(item)}}
diff --git a/resources/assets/sass/pages/page-file.scss b/resources/assets/sass/pages/page-file.scss
index 230cb4145..2651b0409 100644
--- a/resources/assets/sass/pages/page-file.scss
+++ b/resources/assets/sass/pages/page-file.scss
@@ -347,11 +347,14 @@
display: grid;
justify-content: space-between;
grid-template-columns: repeat(auto-fill, 100px);
- grid-gap: 12px;
+ row-gap: 2px;
+ column-gap: 12px;
> li {
list-style: none;
width: 100px;
- height: 110px;
+ height: 124px;
+ }
+ .file-item {
position: relative;
border-radius: 5px;
display: flex;
@@ -382,16 +385,18 @@
.file-name {
display: block;
width: 100%;
- height: 20px;
- line-height: 20px;
+ line-height: 16px;
color: $primary-text-color;
font-size: 12px;
text-align: center;
- margin-bottom: 5px;
+ margin: 11px 0 5px;
padding: 0 6px;
- overflow: hidden;
- white-space: nowrap;
+ word-break: break-all;
text-overflow: ellipsis;
+ overflow: hidden;
+ display: -webkit-box;
+ -webkit-line-clamp: 2;
+ -webkit-box-orient: vertical;
}
.file-check {
opacity: 0;
@@ -421,6 +426,7 @@
}
}
.file-icon {
+ flex-shrink: 0;
display: inline-block;
width: 64px;
height: 64px;