From 364a9d9d5ab1ff928c8ca2f2f57d2f7a664c391b Mon Sep 17 00:00:00 2001 From: MariaThomson Date: Sun, 17 Aug 2025 17:42:08 +0530 Subject: [PATCH] fix: changed style for odd n even rows --- .../data-table/expandable/_data-table-expandable.scss | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/styles/scss/components/data-table/expandable/_data-table-expandable.scss b/packages/styles/scss/components/data-table/expandable/_data-table-expandable.scss index a6509efa0412..d7e52a4e7400 100644 --- a/packages/styles/scss/components/data-table/expandable/_data-table-expandable.scss +++ b/packages/styles/scss/components/data-table/expandable/_data-table-expandable.scss @@ -315,14 +315,14 @@ //---------------------------------------------------------------------------- .#{$prefix}--data-table--zebra tbody tr[data-parent-row]:nth-child(4n + 3) td, .#{$prefix}--data-table--zebra tbody tr[data-child-row]:nth-child(4n + 4) td { - border-block-end: 1px solid $layer; + background-color: $layer-accent; + border-block-end: 1px solid $layer-accent; + border-block-start: 1px solid $layer-accent; } .#{$prefix}--data-table--zebra tbody tr[data-parent-row]:nth-child(4n + 1) td, .#{$prefix}--data-table--zebra tbody tr[data-child-row]:nth-child(4n + 2) td { - background-color: $layer-accent; - border-block-end: 1px solid $layer-accent; - border-block-start: 1px solid $layer-accent; + border-block-end: 1px solid $layer; } .#{$prefix}--data-table--zebra tr.#{$prefix}--parent-row td,