mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-11 11:32:52 +08:00
Fix table fixed header align, close #2227
This commit is contained in:
parent
47a10a2deb
commit
b42f5efea3
@ -43,7 +43,7 @@ for (let i = 0; i < 100; i++) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function App() {
|
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);
|
ReactDOM.render(<App />, mountNode);
|
||||||
|
@ -403,8 +403,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&-fixed-header &-scroll &-header {
|
&-fixed-header &-scroll &-header {
|
||||||
overflow-x: scroll;
|
overflow: scroll;
|
||||||
overflow-y: hidden;
|
|
||||||
padding-bottom: 20px;
|
padding-bottom: 20px;
|
||||||
margin-bottom: -20px;
|
margin-bottom: -20px;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user