Explorar o código

style: 增加table中shadow阴影动画

xyh %!s(int64=2) %!d(string=hai) anos
pai
achega
fdfaeb42e9
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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;
     }
   }