fix(Slider): pseudo element may casue body overflow-x (#2145)

This commit is contained in:
neverland 2019-10-12 10:51:15 +08:00 committed by GitHub
parent b9f52933ff
commit dc9fab0a1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,16 +24,6 @@
top: 50%;
right: 0;
transform: translate3d(50%, -50%, 0);
/* use pseudo element to expand touch area */
&::after {
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
content: '';
}
}
}