diff --git a/examples/routers/switch.vue b/examples/routers/switch.vue index dcb855e..2c004ff 100644 --- a/examples/routers/switch.vue +++ b/examples/routers/switch.vue @@ -17,8 +17,8 @@ <span slot="close">关</span> </i-switch> <i-switch> - <Icon type="android-done" slot="open"></Icon> - <Icon type="android-close" slot="close"></Icon> + <Icon type="md-checkmark" slot="open"></Icon> + <Icon type="md-close" slot="close"></Icon> </i-switch> <br><br> <i-switch size="large"> diff --git a/src/styles/components/switch.less b/src/styles/components/switch.less index b5425ce..bfd15a2 100644 --- a/src/styles/components/switch.less +++ b/src/styles/components/switch.less @@ -28,6 +28,8 @@ width: 12px; height: 12px; text-align: center; + position: relative; + top: -1px; } } -- libgit2 0.21.4