From 9cd87e8c2e2cc3cf7fd6920b1c9bc07064ba84a1 Mon Sep 17 00:00:00 2001 From: ponnexcodev Date: Sat, 26 Oct 2024 12:48:26 +0800 Subject: [PATCH] Exclude headers for hover state --- .../src/elements/toniq-list-table/toniq-list-table.element.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/design-system/src/elements/toniq-list-table/toniq-list-table.element.ts b/packages/design-system/src/elements/toniq-list-table/toniq-list-table.element.ts index 720df93..7ae6a62 100644 --- a/packages/design-system/src/elements/toniq-list-table/toniq-list-table.element.ts +++ b/packages/design-system/src/elements/toniq-list-table/toniq-list-table.element.ts @@ -414,7 +414,7 @@ export const ToniqListTable = defineToniqElement()({ : nothing} class=${classMap({ 'column-content': true, - hover: rowIndex === state.hoverIndex, + hover: rowIndex !== 0 && rowIndex === state.hoverIndex, })} > ${renderIf(