Browse Source

2023-9-18

codeMan 2 năm trước cách đây
mục cha
commit
71740ead8a
1 tập tin đã thay đổi với 5 bổ sung2 xóa
  1. 5 2
      src/components/file-block/index.vue

+ 5 - 2
src/components/file-block/index.vue

@@ -125,10 +125,13 @@ export default {
   font-weight: bold;
   color: #333333;
   line-height: 22px;
+  display: -webkit-box;
   overflow: hidden;
+  -webkit-box-orient: vertical;
+  -webkit-line-clamp: 2;
   text-overflow: ellipsis;
-  white-space: nowrap;
-  max-width: 220px;
+  word-wrap:break-word;
+  width: 220px;
 }
 .item-file .left .text p:last-child {
   font-size: 10px;