Sfoglia il codice sorgente

style: 增加table中shadow阴影动画

xyh 2 anni fa
parent
commit
fdfaeb42e9
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      packages/app/src/components/table/index.css

+ 2 - 1
packages/app/src/components/table/index.css

@@ -6,7 +6,7 @@
 }
 
 .ld-table {
-  --animate-duration: 200ms;
+  --animate-duration: 150ms;
 
   min-width: 100%;
   padding: 0;
@@ -37,6 +37,7 @@
       width: 30px;
       pointer-events: none;
       content: '';
+      transition: box-shadow var(--animate-duration) linear;
     }
   }