Browse Source

style: 增加table中shadow阴影动画

xyh 2 years ago
parent
commit
fdfaeb42e9
1 changed files with 2 additions and 1 deletions
  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;
     }
   }