mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-11-23 18:49:21 +08:00
style: 优化 switch 组件 small 尺寸样式 (#6210)
This commit is contained in:
parent
24e780b984
commit
626f5efdcd
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user