2
0
Эх сурвалжийг харах

Fixes issue #1619 (#2482)

Co-authored-by: Paweł Kuna <[email protected]>
Resul Elezi 3 өдөр өмнө
parent
commit
9a3361f8ba

+ 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 {