From 28aa30a33381f40ab00b3e95ff23dda70feca290 Mon Sep 17 00:00:00 2001 From: KumJungMin Date: Sun, 1 Sep 2024 21:35:28 +0900 Subject: [PATCH 1/2] fix: apply bottom border width in dataTable footer --- theme-base/components/data/_datatable.scss | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/theme-base/components/data/_datatable.scss b/theme-base/components/data/_datatable.scss index dc480f0..429115e 100644 --- a/theme-base/components/data/_datatable.scss +++ b/theme-base/components/data/_datatable.scss @@ -266,10 +266,10 @@ .p-datatable-tfoot { > tr { > td { - border-width: 1px 0 1px 1px; + border-width: 0 0 1px 1px; &:last-child { - border-width: 1px 1px 1px 1px; + border-width: 0 1px 1px 1px; } } } @@ -298,20 +298,6 @@ } } } - - &:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody { - > tr { - &:last-child { - > td { - border-width: 0 0 0 1px; - - &:last-child { - border-width: 0 1px 0 1px; - } - } - } - } - } } &.p-datatable-striped { From e9b67425a7cc840d39e52f6542783b332914e59f Mon Sep 17 00:00:00 2001 From: KumJungMin Date: Sun, 1 Sep 2024 21:35:50 +0900 Subject: [PATCH 2/2] fix: apply hex color in border line --- themes/material/material-dark/_variables.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/material/material-dark/_variables.scss b/themes/material/material-dark/_variables.scss index 1f217fd..00f9ed3 100644 --- a/themes/material/material-dark/_variables.scss +++ b/themes/material/material-dark/_variables.scss @@ -520,7 +520,7 @@ $tableFooterCellPadding: 1rem 1rem !default; $tableFooterCellBg: #1e1e1e !default; $tableFooterCellTextColor: $textColor !default; $tableFooterCellFontWeight: 500 !default; -$tableFooterCellBorder: 1px solid 3404040 !default; +$tableFooterCellBorder: 1px solid #404040 !default; $tableFooterCellBorderWidth: 0 0 1px 0 !default; $tableResizerHelperBg: $primaryColor !default; $tableDragHelperBg: rgba($primaryColor, 0.16) !default;