Parcourir la source

fix: 修复border滚动超出问题

xyh il y a 2 ans
Parent
commit
ecb411a4d2
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      packages/app/src/components/table/index.css

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

@@ -1,6 +1,5 @@
 .ld-table-wrapper {
   width: 100%;
-  overflow: hidden;
   border-inline-start: 1px solid var(--border-color-light);
   border-start-start-radius: var(--border-radius);
   border-start-end-radius: var(--border-radius);
@@ -74,6 +73,8 @@
   z-index: 5;
   width: 100%;
   overflow: hidden;
+  border-start-start-radius: var(--border-radius);
+  border-start-end-radius: var(--border-radius);
 }
 
 .ld-table-body-wrapper {