From 2bb9407f5f8555028a28a2b436cf351abd652ae6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8C=E8=B4=A7=E6=9C=BA=E5=99=A8=E4=BA=BA?= Date: Tue, 19 Oct 2021 15:27:37 +0800 Subject: [PATCH] chore: table support rowSpan hover (#32557) --- components/table/style/index.less | 7 +++---- package.json | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/components/table/style/index.less b/components/table/style/index.less index 8b50b7e9bb..b6c9a5cd6b 100644 --- a/components/table/style/index.less +++ b/components/table/style/index.less @@ -145,10 +145,9 @@ } } - &.@{table-prefix-cls}-row:hover { - > td { - background: @table-row-hover-bg; - } + &.@{table-prefix-cls}-row:hover > td, + > td.@{table-prefix-cls}-cell-row-hover { + background: @table-row-hover-bg; } &.@{table-prefix-cls}-row-selected { diff --git a/package.json b/package.json index 4657b955ea..2a4c559bbb 100644 --- a/package.json +++ b/package.json @@ -140,7 +140,7 @@ "rc-slider": "~9.7.4", "rc-steps": "~4.1.0", "rc-switch": "~3.2.0", - "rc-table": "~7.18.0", + "rc-table": "~7.19.0", "rc-tabs": "~11.10.0", "rc-textarea": "~0.3.0", "rc-tooltip": "~5.1.1",