diff --git a/.changeset/pretty-chefs-design.md b/.changeset/pretty-chefs-design.md new file mode 100644 index 000000000..770912938 --- /dev/null +++ b/.changeset/pretty-chefs-design.md @@ -0,0 +1,5 @@ +--- +"@tabler/core": patch +--- + +Fix double bottom border in tables. diff --git a/core/scss/ui/_cards.scss b/core/scss/ui/_cards.scss index 479e54f9e..3dbb4a237 100644 --- a/core/scss/ui/_cards.scss +++ b/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); } diff --git a/core/scss/ui/_tables.scss b/core/scss/ui/_tables.scss index 0837f36d8..00e475686 100644 --- a/core/scss/ui/_tables.scss +++ b/core/scss/ui/_tables.scss @@ -18,10 +18,6 @@ .table { margin-bottom: 0; } - - + .card-footer { - border-top: 0; - } } .table-transparent {