docs: fix table drag demo style is incorrect (#39236)

This commit is contained in:
Dunqing 2022-12-04 15:28:34 +08:00 committed by GitHub
parent fe60528e84
commit 9e204c2117
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.
```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;
}
#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;
}
```