jinx 1 year ago
parent
commit
7bea8e3d41
1 changed files with 8 additions and 3 deletions
  1. 8 3
      packages/app-cdfg/src/components/Tags/tag-info.vue

+ 8 - 3
packages/app-cdfg/src/components/Tags/tag-info.vue

@@ -277,14 +277,19 @@ onMounted(() => {})
                     }
                 }
                 > span {
-                    width: 100px;
+                    width: 80px;
+                    // overflow: hidden;
+                    // text-overflow: ellipsis;
+                    // white-space: nowrap;
                     overflow: hidden;
+                    display: -webkit-box;
+                    -webkit-box-orient: vertical;
+                    -webkit-line-clamp: 2;
                     text-overflow: ellipsis;
-                    white-space: nowrap;
                     font-size: 12px;
                     margin-top: 6px;
                     text-align: center;
-                    display: inline-block;
+                    // display: inline-block;
                     text-align: center;
                     color: rgba(255, 255, 255, 0.3);
                 }