From 9a3361f8bafc5d0f57f802fc69f929ad77ad1026 Mon Sep 17 00:00:00 2001 From: Resul Elezi Date: Thu, 18 Sep 2025 18:19:24 +0200 Subject: [PATCH] Fixes issue #1619 (#2482) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Paweł Kuna <1282324+codecalm@users.noreply.github.com> --- .changeset/pretty-chefs-design.md | 5 +++++ core/scss/ui/_cards.scss | 17 +++++++++++++++++ core/scss/ui/_tables.scss | 4 ---- 3 files changed, 22 insertions(+), 4 deletions(-) create mode 100644 .changeset/pretty-chefs-design.md 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 {