From 3cbd24c35bd927eeac7b7b3f1bc15b9e3b0dbccd Mon Sep 17 00:00:00 2001 From: neverland Date: Tue, 29 Oct 2019 20:56:37 +0800 Subject: [PATCH] fix(Switch): loading size (#2220) --- packages/switch/index.less | 2 ++ packages/switch/index.wxml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/switch/index.less b/packages/switch/index.less index e0890fbc..01ec9a70 100644 --- a/packages/switch/index.less +++ b/packages/switch/index.less @@ -29,6 +29,8 @@ position: absolute !important; top: 25%; left: 25%; + width: 50%; + height: 50%; } &--on { diff --git a/packages/switch/index.wxml b/packages/switch/index.wxml index 147d6189..31a104df 100644 --- a/packages/switch/index.wxml +++ b/packages/switch/index.wxml @@ -6,6 +6,6 @@ bind:tap="onClick" > - +