mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 20:49:53 +08:00
chore: 🆙 upgrade react-resizable (#26524)
* chore: 🆙 upgrade react-resizable
* test: fix snapshot
* code style improve
This commit is contained in:
parent
4976fef1b1
commit
c88fd34e9a
@ -12352,7 +12352,6 @@ exports[`renders ./components/table/demo/resizable-column.md correctly 1`] = `
|
||||
<tr>
|
||||
<th
|
||||
class="ant-table-cell react-resizable"
|
||||
handle="[object Object]"
|
||||
>
|
||||
Date
|
||||
<span
|
||||
@ -12361,7 +12360,6 @@ exports[`renders ./components/table/demo/resizable-column.md correctly 1`] = `
|
||||
</th>
|
||||
<th
|
||||
class="ant-table-cell ant-table-column-has-sorters react-resizable"
|
||||
handle="[object Object]"
|
||||
>
|
||||
<div
|
||||
class="ant-table-column-sorters-with-tooltip"
|
||||
@ -12428,7 +12426,6 @@ exports[`renders ./components/table/demo/resizable-column.md correctly 1`] = `
|
||||
</th>
|
||||
<th
|
||||
class="ant-table-cell react-resizable"
|
||||
handle="[object Object]"
|
||||
>
|
||||
Type
|
||||
<span
|
||||
@ -12437,7 +12434,6 @@ exports[`renders ./components/table/demo/resizable-column.md correctly 1`] = `
|
||||
</th>
|
||||
<th
|
||||
class="ant-table-cell react-resizable"
|
||||
handle="[object Object]"
|
||||
>
|
||||
Note
|
||||
<span
|
||||
|
@ -141,11 +141,11 @@ ReactDOM.render(<Demo />, mountNode);
|
||||
|
||||
#components-table-demo-resizable-column .react-resizable-handle {
|
||||
position: absolute;
|
||||
right: -5px;
|
||||
bottom: 0;
|
||||
z-index: 1;
|
||||
width: 10px;
|
||||
height: 100%;
|
||||
bottom: 0;
|
||||
right: -5px;
|
||||
cursor: col-resize;
|
||||
z-index: 1;
|
||||
}
|
||||
```
|
||||
|
@ -254,7 +254,7 @@
|
||||
"react-highlight-words": "^0.16.0",
|
||||
"react-infinite-scroller": "^1.2.4",
|
||||
"react-intl": "^5.3.0",
|
||||
"react-resizable": "^1.8.0",
|
||||
"react-resizable": "^2.0.0",
|
||||
"react-router-dom": "^5.0.1",
|
||||
"react-sortable-hoc": "^1.11.0",
|
||||
"react-sticky": "^6.0.3",
|
||||
|
Loading…
Reference in New Issue
Block a user