remove nowrap in fixed Table, close #2130

This commit is contained in:
afc163 2016-06-22 11:48:11 +08:00
parent df4de5fe45
commit 2be285d236
3 changed files with 2 additions and 11 deletions

View File

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

View File

@ -45,7 +45,7 @@ const data = [{
}];
function App() {
return <Table columns={columns} dataSource={data} scroll={{ x: true }} />;
return <Table columns={columns} dataSource={data} scroll={{ x: 1300 }} />;
}
ReactDOM.render(<App />, mountNode);

View File

@ -423,15 +423,6 @@
}
}
&-fixed-left,
&-fixed-right,
&-scroll {
th,
td {
white-space: nowrap;
}
}
&-fixed-left &-fixed,
&-fixed-right &-fixed {
border-radius: 0;