From d79eaf9b0adb173b6cfcfc1e8ca91d0a5f4b4ebb Mon Sep 17 00:00:00 2001 From: 梁灏 Date: Tue, 3 Jul 2018 10:03:13 +0800 Subject: [PATCH] update Switch style --- examples/routers/switch.vue | 4 ++-- src/styles/components/switch.less | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) 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 @@ - - + +

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