mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-13 04:53:11 +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>
|
<tr>
|
||||||
<th
|
<th
|
||||||
class="ant-table-cell react-resizable"
|
class="ant-table-cell react-resizable"
|
||||||
handle="[object Object]"
|
|
||||||
>
|
>
|
||||||
Date
|
Date
|
||||||
<span
|
<span
|
||||||
@ -12361,7 +12360,6 @@ exports[`renders ./components/table/demo/resizable-column.md correctly 1`] = `
|
|||||||
</th>
|
</th>
|
||||||
<th
|
<th
|
||||||
class="ant-table-cell ant-table-column-has-sorters react-resizable"
|
class="ant-table-cell ant-table-column-has-sorters react-resizable"
|
||||||
handle="[object Object]"
|
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-table-column-sorters-with-tooltip"
|
class="ant-table-column-sorters-with-tooltip"
|
||||||
@ -12428,7 +12426,6 @@ exports[`renders ./components/table/demo/resizable-column.md correctly 1`] = `
|
|||||||
</th>
|
</th>
|
||||||
<th
|
<th
|
||||||
class="ant-table-cell react-resizable"
|
class="ant-table-cell react-resizable"
|
||||||
handle="[object Object]"
|
|
||||||
>
|
>
|
||||||
Type
|
Type
|
||||||
<span
|
<span
|
||||||
@ -12437,7 +12434,6 @@ exports[`renders ./components/table/demo/resizable-column.md correctly 1`] = `
|
|||||||
</th>
|
</th>
|
||||||
<th
|
<th
|
||||||
class="ant-table-cell react-resizable"
|
class="ant-table-cell react-resizable"
|
||||||
handle="[object Object]"
|
|
||||||
>
|
>
|
||||||
Note
|
Note
|
||||||
<span
|
<span
|
||||||
|
@ -141,11 +141,11 @@ ReactDOM.render(<Demo />, mountNode);
|
|||||||
|
|
||||||
#components-table-demo-resizable-column .react-resizable-handle {
|
#components-table-demo-resizable-column .react-resizable-handle {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
right: -5px;
|
||||||
|
bottom: 0;
|
||||||
|
z-index: 1;
|
||||||
width: 10px;
|
width: 10px;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
bottom: 0;
|
|
||||||
right: -5px;
|
|
||||||
cursor: col-resize;
|
cursor: col-resize;
|
||||||
z-index: 1;
|
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
@ -254,7 +254,7 @@
|
|||||||
"react-highlight-words": "^0.16.0",
|
"react-highlight-words": "^0.16.0",
|
||||||
"react-infinite-scroller": "^1.2.4",
|
"react-infinite-scroller": "^1.2.4",
|
||||||
"react-intl": "^5.3.0",
|
"react-intl": "^5.3.0",
|
||||||
"react-resizable": "^1.8.0",
|
"react-resizable": "^2.0.0",
|
||||||
"react-router-dom": "^5.0.1",
|
"react-router-dom": "^5.0.1",
|
||||||
"react-sortable-hoc": "^1.11.0",
|
"react-sortable-hoc": "^1.11.0",
|
||||||
"react-sticky": "^6.0.3",
|
"react-sticky": "^6.0.3",
|
||||||
|
Loading…
Reference in New Issue
Block a user