fix(button): fix hairline position (#3653)

fix #3651
This commit is contained in:
rex 2020-09-30 10:14:11 +08:00 committed by GitHub
parent ac6ed0c39b
commit 981741a6c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,6 +3,7 @@
.hairline-common() { .hairline-common() {
position: absolute; position: absolute;
box-sizing: border-box; box-sizing: border-box;
transform-origin: center; /* cover wechat button:after default transforn-origin */
content: ' '; content: ' ';
pointer-events: none; pointer-events: none;
} }