antd如何设置Table组件在鼠标移入后该行的文字颜色?求各路大神给出指导
antDesign表格
wqvbwang
#5
less
&-tbody > tr {
transition: all .3s;
&.@{table-prefix-cls}-row-hover,
&:hover {
& > td {
background: @table-row-hover-bg;
}
}
}
编译后的
.ant-table-tbody>tr.ant-table-row-hover>td, .ant-table-tbody>tr:hover>td, .ant-table-thead>tr.ant-table-row-hover>td, .ant-table-thead>tr:hover>td {
background: #e6f7ff;
}