Skip to content

Commit 38d7408

Browse files
committed
feat: opti resize table handle
1 parent 91527cb commit 38d7408

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

components/table/style/resize.less

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,18 @@
2323
}
2424
}
2525

26-
.dragging .@{table-prefix-cls}-resize-handle-line {
27-
opacity: 1;
26+
.dragging {
27+
.@{table-prefix-cls}-resize-handle-line {
28+
opacity: 1;
29+
}
30+
&:before {
31+
position: absolute;
32+
top: 0;
33+
bottom: 0;
34+
width: 100%;
35+
content: ' ';
36+
width: 200vw;
37+
transform: translateX(-50%);
38+
opacity: 0;
39+
}
2840
}

0 commit comments

Comments
 (0)