remove nowrap in fixed Table, close #2130

pull/2135/head
afc163 9 years ago
parent df4de5fe45
commit 2be285d236

@ -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);

@ -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);

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

Loading…
Cancel
Save