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

* fix(Switch): switch node inherit font-size

* chore: upd
This commit is contained in:
neverland
2021-11-11 19:31:32 +08:00
committed by GitHub
parent 933d1bb2cf
commit ca41a57f30
3 changed files with 7 additions and 6 deletions
+2
View File
@@ -33,6 +33,8 @@
left: 0;
width: var(--van-switch-node-size);
height: var(--van-switch-node-size);
// https://github.com/youzan/vant/issues/9839
font-size: inherit;
background: var(--van-switch-node-background-color);
border-radius: 100%;
box-shadow: var(--van-switch-node-box-shadow);