-
-
Notifications
You must be signed in to change notification settings - Fork 47.3k
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
table 第一行 hover 时 background 带圆角 #4373
Comments
这个比较纠结。。圆角是属于 table 的,而 title 并不在 table 里。。 |
好像就是这么设计的:4b2e9bb |
@afc163 这个是 by design 的吗? bordered 和 非 border 在使用场景上有什么差异吗? |
哦是的,因为可视部分需要是圆角。 |
没 header 时,第一列不再是圆角。 |
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
重新方法:
<Table style={{ background: 'pink'}} columns={columns} title={data => data.length} dataSource={data} showHeader={false} />
如图,圆角应该是属于 title 的,但是分配了个第一行记录
期望:hover 时第一行 bg 没有圆角
其他信息:如果设置了 bordered 就不会有这个问题
BTW,能否考虑把 padding 开放出来,现在的设计稿上基本上头部和实际内容都有 padding 来包裹,分别用 render 来做总感觉很麻烦,每一个用 table 的地方都需要定义一次
The text was updated successfully, but these errors were encountered: