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
Tabs 组件的size=small时的margin-right:0没有了,和default的样式几乎相同了 #8456
Comments
是设计上修改了,如果在小空间场景中比较憋屈,可以自行样式覆盖。 |
感觉 Tabs 可以加一个 gutter 属性(间距),更方便使用。 @lixiaoyang1992 来个 PR 发到 |
好 |
tab的div是在rc-tabs的 getTabs 生成的,直接在antd里面不能加上style,需要在rc-tabs那边也修改 |
ping @lixiaoyang1992 |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
undefined
Environment
Mac os 10.12 ,chrome
Reproduction link
https://ant.design/components/tabs-cn/#components-tabs-demo-size
Steps to reproduce
直接能看到
What is expected?
间距小
What is actually happening?
间距很大,在窄的div中效果不好
不知道这是设计上修改了,还是忘了加
The text was updated successfully, but these errors were encountered: