优化switch组件大小

Signed-off-by: 七彩枫叶 <424235748@qq.com>
This commit is contained in:
七彩枫叶
2023-10-25 03:27:05 +00:00
committed by Gitee
parent 892b8f3405
commit e193922cb9

View File

@@ -2221,8 +2221,8 @@ a {
/* switch选择器 */ /* switch选择器 */
.layui-form-switch { .layui-form-switch {
height: 16px; height: 21px;
line-height: 16px; line-height: 19px;
min-width: 28px; min-width: 28px;
margin-top: 6px; margin-top: 6px;
} }
@@ -2233,7 +2233,7 @@ a {
} }
.layui-form-switch i { .layui-form-switch i {
top: 1px; top: 3px;
width: 12px; width: 12px;
height: 12px; height: 12px;
} }