Fix table fixed header align, close #2227

This commit is contained in:
afc163 2016-07-05 14:41:21 +08:00
parent 47a10a2deb
commit b42f5efea3
2 changed files with 2 additions and 3 deletions

View File

@ -43,7 +43,7 @@ for (let i = 0; i < 100; i++) {
}
function App() {
return <Table columns={columns} dataSource={data} scroll={{ x: 1300, y: 300 }} />;
return <Table columns={columns} dataSource={data} scroll={{ x: 1500, y: 300 }} />;
}
ReactDOM.render(<App />, mountNode);

View File

@ -403,8 +403,7 @@
}
&-fixed-header &-scroll &-header {
overflow-x: scroll;
overflow-y: hidden;
overflow: scroll;
padding-bottom: 20px;
margin-bottom: -20px;
}