diff --git a/packages/console/src/components/Table/index.module.scss b/packages/console/src/components/Table/index.module.scss index fc6dccd23..bef497acb 100644 --- a/packages/console/src/components/Table/index.module.scss +++ b/packages/console/src/components/Table/index.module.scss @@ -67,29 +67,29 @@ &.clickable { cursor: pointer; + } + } - &:hover { - background: var(--color-hover); + tr.hoverEffect:hover { + background: var(--color-hover); - td { - border-top: 1px solid transparent; - } + td { + border-top: 1px solid transparent; + } - + tr { - td { - border-top: 1px solid transparent; - } - } - - td:first-child { - border-radius: 8px 0 0 8px; - } - - td:last-child { - border-radius: 0 8px 8px 0; - } + + tr { + td { + border-top: 1px solid transparent; } } + + td:first-child { + border-radius: 8px 0 0 8px; + } + + td:last-child { + border-radius: 0 8px 8px 0; + } } } } diff --git a/packages/console/src/components/Table/index.tsx b/packages/console/src/components/Table/index.tsx index 150957298..9682488d8 100644 --- a/packages/console/src/components/Table/index.tsx +++ b/packages/console/src/components/Table/index.tsx @@ -28,6 +28,7 @@ type Props< columns: Array>; rowIndexKey: TName; filter?: ReactNode; + isRowHoverEffectDisabled?: boolean; isRowClickable?: (row: TFieldValues) => boolean; rowClickHandler?: (row: TFieldValues) => void; className?: string; @@ -48,6 +49,7 @@ const Table = < columns, rowIndexKey, filter, + isRowHoverEffectDisabled = false, rowClickHandler, isRowClickable = () => Boolean(rowClickHandler), className, @@ -130,7 +132,10 @@ const Table = < return ( {columns.map(({ dataIndex, colSpan, className, render }) => ( diff --git a/packages/console/src/pages/SignInExperience/tabs/Others/components/ManageLanguage/LanguageEditor/LanguageDetails.tsx b/packages/console/src/pages/SignInExperience/tabs/Others/components/ManageLanguage/LanguageEditor/LanguageDetails.tsx index f3609fe89..7a54aed85 100644 --- a/packages/console/src/pages/SignInExperience/tabs/Others/components/ManageLanguage/LanguageEditor/LanguageDetails.tsx +++ b/packages/console/src/pages/SignInExperience/tabs/Others/components/ManageLanguage/LanguageEditor/LanguageDetails.tsx @@ -177,6 +177,7 @@ const LanguageDetails = () => {