fix: Child of Button should be interactive (#24095)

close #24090
This commit is contained in:
偏右 2020-05-12 22:29:10 +08:00 committed by GitHub
parent 64d151aa81
commit c19685e0ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,13 +22,6 @@
line-height: @line-height-base;
.btn;
.btn-default;
// Make sure that the target of Button's click event always be `button`
// Ref: https://github.com/ant-design/ant-design/issues/7034
> i,
> span {
display: inline-block;
pointer-events: none;
}
&-primary {
.btn-primary;