mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 03:59:01 +08:00
remove nowrap in fixed Table, close #2130
This commit is contained in:
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…
Reference in New Issue
Block a user