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

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

View File

@ -23,16 +23,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: '';
}
}
}