Explorar o código

受控文件查阅显示优化

tianxinyu hai 3 meses
pai
achega
8567cda74f
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/assets/styles/pages/dashboard.scss

+ 2 - 1
src/assets/styles/pages/dashboard.scss

@@ -331,6 +331,7 @@ $transition: all 0.5s;
     background-size: 20px 20px; /* 或 contain, 100% 等 */
     background-position: center;
     background-repeat: no-repeat; 
+    flex: 0 0 50px;
   }
   .file-grid-icon-1{
     background-color: #dcfce7;
@@ -346,7 +347,7 @@ $transition: all 0.5s;
     color: #333;
     font-size: 14px;
     overflow: hidden;
-    width: 130px;
+    max-width: 130px;
     text-overflow: ellipsis;
     white-space: nowrap;
   }