Explorar o código

Upload: fix file list style (#1701)

cinwell.li %!s(int64=8) %!d(string=hai) anos
pai
achega
105db7c673
Modificáronse 1 ficheiros con 7 adicións e 5 borrados
  1. 7 5
      packages/theme-default/src/upload.css

+ 7 - 5
packages/theme-default/src/upload.css

@@ -37,15 +37,17 @@
       box-sizing: border-box;
       border-radius: 4px;
       width: 100%;
-      overflow: hidden;
-      white-space: nowrap;
-      text-overflow: ellipsis;
       position: relative;
 
       a {
         color: #475669;
-        transition: color .3s;
+        display: block;
+        margin-right: 40px;
+        overflow: hidden;
         padding-left: 4px;
+        text-overflow: ellipsis;
+        transition: color .3s;
+        white-space: nowrap;
 
         [class^="el-icon"] {
           color: #99a9bf;
@@ -81,7 +83,7 @@
           .el-upload__btn-delete {
             display: block;
             cursor: pointer;
-          }   
+          }
         }
       }
     }