浏览代码

Fixes issue #1619 (#2482)

Co-authored-by: Paweł Kuna <[email protected]>
Resul Elezi 3 天之前
父节点
当前提交
9a3361f8ba
共有 3 个文件被更改,包括 22 次插入4 次删除
  1. 5 0
      .changeset/pretty-chefs-design.md
  2. 17 0
      core/scss/ui/_cards.scss
  3. 0 4
      core/scss/ui/_tables.scss

+ 5 - 0
.changeset/pretty-chefs-design.md

@@ -0,0 +1,5 @@
+---
+"@tabler/core": patch
+---
+
+Fix double bottom border in tables.

+ 17 - 0
core/scss/ui/_cards.scss

@@ -438,6 +438,23 @@ Card table
     }
   }
 
+  tbody {
+		tr {
+			&:last-child {
+				td {
+					border-bottom: 0;
+				}
+			}
+		}
+	}
+	tfoot {
+		tr {
+			&:last-child {
+				border-bottom: 0;
+			}
+		}
+	}
+
   .card-body + & {
     border-top: var(--#{$prefix}border-width) var(--#{$prefix}border-style) var(--#{$prefix}table-border-color);
   }

+ 0 - 4
core/scss/ui/_tables.scss

@@ -18,10 +18,6 @@
   .table {
     margin-bottom: 0;
   }
-
-  + .card-footer {
-    border-top: 0;
-  }
 }
 
 .table-transparent {