mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 11:10:01 +08:00
fix snapshot
This commit is contained in:
parent
2c262dd3ec
commit
462c7fcdf8
@ -1629,7 +1629,7 @@ exports[`renders ./components/table/demo/drag-sorting-handler.md correctly 1`] =
|
||||
aria-label="menu"
|
||||
class="anticon anticon-menu"
|
||||
role="img"
|
||||
style="cursor:pointer;color:#999"
|
||||
style="cursor:grab;color:#999"
|
||||
>
|
||||
<svg
|
||||
aria-hidden="true"
|
||||
@ -1672,7 +1672,7 @@ exports[`renders ./components/table/demo/drag-sorting-handler.md correctly 1`] =
|
||||
aria-label="menu"
|
||||
class="anticon anticon-menu"
|
||||
role="img"
|
||||
style="cursor:pointer;color:#999"
|
||||
style="cursor:grab;color:#999"
|
||||
>
|
||||
<svg
|
||||
aria-hidden="true"
|
||||
@ -1715,7 +1715,7 @@ exports[`renders ./components/table/demo/drag-sorting-handler.md correctly 1`] =
|
||||
aria-label="menu"
|
||||
class="anticon anticon-menu"
|
||||
role="img"
|
||||
style="cursor:pointer;color:#999"
|
||||
style="cursor:grab;color:#999"
|
||||
>
|
||||
<svg
|
||||
aria-hidden="true"
|
||||
|
@ -19,9 +19,7 @@ import { sortableContainer, sortableElement, sortableHandle } from 'react-sortab
|
||||
import { MenuOutlined } from '@ant-design/icons';
|
||||
import arrayMove from 'array-move';
|
||||
|
||||
const DragHandle = sortableHandle(() => (
|
||||
<MenuOutlined style={{ cursor: 'pointer', color: '#999' }} />
|
||||
));
|
||||
const DragHandle = sortableHandle(() => <MenuOutlined style={{ cursor: 'grab', color: '#999' }} />);
|
||||
|
||||
const columns = [
|
||||
{
|
||||
@ -135,7 +133,6 @@ ReactDOM.render(<SortableTable />, mountNode);
|
||||
|
||||
.row-dragging td {
|
||||
padding: 16px;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.row-dragging .drag-visible {
|
||||
|
Loading…
Reference in New Issue
Block a user