From 8464bd0be25526dd6a8bfb33279ddc30b1992eff Mon Sep 17 00:00:00 2001 From: sight <1453017105@qq.com> Date: Thu, 24 Mar 2022 17:07:37 +0800 Subject: [PATCH] =?UTF-8?q?fix(switch):=20=E4=BF=AE=E5=A4=8D=E5=9B=BE?= =?UTF-8?q?=E6=A0=87=E6=8F=92=E6=A7=BD=E5=81=8F=E7=A7=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/component/switch/index.less | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/component/switch/index.less b/src/component/switch/index.less index 8605b043..c58beeab 100644 --- a/src/component/switch/index.less +++ b/src/component/switch/index.less @@ -16,6 +16,9 @@ .layui-form-switch span { position: absolute; + display: flex; + align-items: center; + justify-content: center; left: 5px; top: 3px; width: 16px;