在项目中遇到需要改变table的hover颜色,在使用深度的方法不行后,找到了这个方法。
解决方式:
.ant-table-tbody > tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected) > td {
background: #2e3cd6;
}
在项目中遇到需要改变table的hover颜色,在使用深度的方法不行后,找到了这个方法。
解决方式:
.ant-table-tbody > tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected) > td {
background: #2e3cd6;
}