Skip to content

Commit e1f8801

Browse files
authored
fix(Slider): pseudo element may casue body overflow-x (youzan#4699)
1 parent 02a9171 commit e1f8801

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/slider/index.less

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,6 @@
2323
top: 50%;
2424
right: 0;
2525
transform: translate3d(50%, -50%, 0);
26-
27-
/* use pseudo element to expand touch area */
28-
&::after {
29-
position: absolute;
30-
top: -50%;
31-
left: -50%;
32-
width: 200%;
33-
height: 200%;
34-
content: '';
35-
}
3626
}
3727
}
3828

0 commit comments

Comments
 (0)