fix(Switch): switch node inherit font-size (#9841)

This commit is contained in:
neverland 2021-11-11 19:24:07 +08:00 committed by GitHub
parent c698dbe16a
commit 791e20e7a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,6 +19,8 @@
left: 0;
width: @switch-node-size;
height: @switch-node-size;
// https://github.com/youzan/vant/issues/9839
font-size: inherit;
background-color: @switch-node-background-color;
border-radius: 100%;
box-shadow: @switch-node-box-shadow;