mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-12 20:43:11 +08:00
docs: fix table drag demo style is incorrect (#39236)
This commit is contained in:
parent
fe60528e84
commit
9e204c2117
@ -7,11 +7,11 @@
|
|||||||
By using `components`, we can integrate table with [react-dnd](https://github.com/react-dnd/react-dnd) to implement drag sorting function.
|
By using `components`, we can integrate table with [react-dnd](https://github.com/react-dnd/react-dnd) to implement drag sorting function.
|
||||||
|
|
||||||
```css
|
```css
|
||||||
#components-table-demo-drag-sorting tr.drop-over-downward td {
|
#components-table-demo-drag-sorting .ant-table tr.drop-over-downward td {
|
||||||
border-bottom: 2px dashed #1890ff;
|
border-bottom: 2px dashed #1890ff;
|
||||||
}
|
}
|
||||||
|
|
||||||
#components-table-demo-drag-sorting tr.drop-over-upward td {
|
#components-table-demo-drag-sorting .ant-table tr.drop-over-upward td {
|
||||||
border-top: 2px dashed #1890ff;
|
border-top: 2px dashed #1890ff;
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user