Prechádzať zdrojové kódy

style: 增加table中shadow阴影动画

xyh 2 rokov pred
rodič
commit
fdfaeb42e9

+ 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;
     }
   }