diff --git a/packages/antd/src/__builtins__/sort.tsx b/packages/antd/src/__builtins__/sort.tsx index a3dd1f21a1f..2e16a981176 100644 --- a/packages/antd/src/__builtins__/sort.tsx +++ b/packages/antd/src/__builtins__/sort.tsx @@ -99,7 +99,7 @@ export function SortableElement>( }px, 0)`, transition: `${transform ? 'all 200ms ease' : ''}`, } - const dragStyle = { + const dragStyle: React.CSSProperties = { transition, opacity: '0.8', transform: `translate3d(${transform?.x || 0}px, ${ diff --git a/packages/antd/src/array-base/style.less b/packages/antd/src/array-base/style.less index 387a481d875..535dc09c8a9 100644 --- a/packages/antd/src/array-base/style.less +++ b/packages/antd/src/array-base/style.less @@ -30,6 +30,10 @@ .@{array-base-prefix-cls}-sort-handle { cursor: move; color: #888 !important; + // overrid iconfont.less .anticon[tabindex] cursor + &.anticon[tabindex] { + cursor: move; + } } .@{array-base-prefix-cls}-addition { diff --git a/packages/antd/src/array-table/style.less b/packages/antd/src/array-table/style.less index 40b1265df96..f10da18a147 100644 --- a/packages/antd/src/array-table/style.less +++ b/packages/antd/src/array-table/style.less @@ -16,6 +16,10 @@ } .@{ant-prefix}-table { + table { + overflow: hidden; + } + td { visibility: visible;