forked from github/dataease
refactor: 视图编辑属性开关样式调整
This commit is contained in:
parent
1ed3767bcd
commit
023c17bd46
@ -63,5 +63,18 @@ const switchValue = computed({
|
||||
align-items: center;
|
||||
padding-right: 8px;
|
||||
flex-grow: 1;
|
||||
:deep(.ed-switch.is-checked .ed-switch__core > .ed-switch__action) {
|
||||
left: calc(100% - 12px);
|
||||
}
|
||||
:deep(span.ed-switch__core) {
|
||||
min-width: 24px;
|
||||
border: none;
|
||||
height: 6px;
|
||||
border-radius: 3px;
|
||||
.ed-switch__action {
|
||||
left: 0;
|
||||
box-shadow: 0 2px 4px rgba(31, 35, 41, 0.12);
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
Loading…
Reference in New Issue
Block a user