From 626f5efdcd569a5ab1ef7cbd932dc6dbc635b974 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=98=AD?= <81747598+lan-yonghui@users.noreply.github.com> Date: Thu, 22 Aug 2024 22:20:55 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E4=BC=98=E5=8C=96=20switch=20?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=20small=20=E5=B0=BA=E5=AF=B8=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=20(#6210)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/styles/reset.scss | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/frontend/src/styles/reset.scss b/frontend/src/styles/reset.scss index d0e3fd481..ac89feb64 100644 --- a/frontend/src/styles/reset.scss +++ b/frontend/src/styles/reset.scss @@ -10,3 +10,16 @@ body, :-webkit-any(article, aside, nav, section) h1 { font-size: 2em; } + +.el-switch--small .el-switch__core { + width: 36px; +} + +.el-switch--small .el-switch__core::after { + width: 12px; + height: 12px; +} + +.el-switch--small,.is-checked .el-switch__core::after { + margin-left: 12px !important; +}