-
Notifications
You must be signed in to change notification settings - Fork 48
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
Style Error #9
Comments
看了antTable的less 都是className > table {} 这样导致table 必须是子元素 ,中间套个div 就不生效了 |
并不是这个原因,你可以把components去掉看看原来的,fixed设定后,样式的变更发生在顶层DOM上 |
麻烦看下图一和图二的对比 ,中间套了个div导致样式没有应用上。。。。 |
README.md有写:maybe you need to fix your style |
明白了 ,可以在那个套的div上加个className 吗 例如 vt-table |
具体怎么弄? |
顶层样式的问题,你可以去掉vt看看和原来有什么区别 |
目前不太好解决, |
去掉就正常了。。。。 |
less整个文件复制过来是不是处理的有问题? |
不是 空白的,去掉自定义的less一样有 ,因为vt-table 那个div的宽度和父级不一样 ,父级有一个滚动条。 |
你得把scroll的x也要加上去,不然样式就有问题,还有col2字段也要赋值-= |
新版本提交了 |
因为在Table上套了一层Div 导致原AntTable 有些样式不生效了。比如size fixed=“right” 等等
The text was updated successfully, but these errors were encountered: