refactor: 视图编辑属性开关样式调整

This commit is contained in:
wisonic-s 2023-10-25 14:30:58 +08:00
parent 1ed3767bcd
commit 023c17bd46

View File

@ -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>