Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crud rowclassname hover:修饰无效 #11520

Open
cybexr opened this issue Jan 20, 2025 · 1 comment
Open

crud rowclassname hover:修饰无效 #11520

cybexr opened this issue Jan 20, 2025 · 1 comment

Comments

@cybexr
Copy link

cybexr commented Jan 20, 2025

crud组件的rowClassName 状态样式 hover: 无效

            {
                "type": "crud",
                "mode": "table",
                "rowClassName": "hover:bg-indigo-500",

另外,rowClassNameExpr 中hover:的也无效,希望一并修改支持

@lhtuling
Copy link

应该是因为crud中自带的移动到上方变色的效果,所以你设置的被覆盖了

可以自己写css覆盖原来的实现同样效果

.cxd-Table-table>tbody>tr:hover {
    color: red !important;
}

Amis低代码前端框架交流群【QQ1群】:717791727
Amis低代码前端框架交流群【QQ2群】:721182449

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants