Ant-design: 滚动条随时显示

创建于 2017-07-11  ·  3评论  ·  资料来源: ant-design/ant-design

版本

2.12.0

环境

窗户 7,铬 50

转载链接

https://ant.design/components/table-cn/#components -table-demo-fixed-header

重现步骤

使用固定头表

期望什么?

不显示灰色箭头和滚动条

实际发生了什么?

scroll-y 显示只要使用固定标题


我使用了 https://github.com/initialdmg/ant-design/commit/d3beb3eaee4eecd72db16f60ebbf508123fd17db

❓FAQ 🙅🏻‍♀️ WON'T RESOLVE

最有用的评论

See https://github.com/ant-design/ant-design/issues/4637

试过四种方式解决头部多余的 scrollbar,但是都会影响列的对齐或导致其他样式问题。


Tried four ways ot fix the extra scrollbar style of table header, but all would breaks column align or cause other strange issues.

所有3条评论

See https://github.com/ant-design/ant-design/issues/4637

试过四种方式解决头部多余的 scrollbar,但是都会影响列的对齐或导致其他样式问题。


Tried four ways ot fix the extra scrollbar style of table header, but all would breaks column align or cause other strange issues.

谢谢

您还希望将溢出样式更改为隐藏以更改边距。 这解决了表格隐藏部分表格的问题。
.ant-table-fixed-header .ant-table-scroll .ant-table-header{ overflow: hidden !important; margin-bottom: 0px !important; }

此页面是否有帮助?
0 / 5 - 0 等级