mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-09-24 00:00:52 +00:00
style: 优化 switch 组件 small 尺寸样式 (#6210)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user