mirror of https://github.com/1Panel-dev/1Panel
style: 优化 switch 组件 small 尺寸样式 (#6210)
parent
24e780b984
commit
626f5efdcd
|
@ -10,3 +10,16 @@ body,
|
||||||
:-webkit-any(article, aside, nav, section) h1 {
|
:-webkit-any(article, aside, nav, section) h1 {
|
||||||
font-size: 2em;
|
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