Commit 1c24a2b2 authored by 杨奕's avatar 杨奕 Committed by baiyaaaaa

Switch: update style (#1803)

parent 240fda5a
......@@ -8,6 +8,8 @@
position: relative;
font-size: var(--switch-font-size);
line-height: var(--switch-height);
height: var(--switch-height);
vertical-align: middle;
@when disabled {
& .el-switch__core,
& .el-switch__label {
......@@ -57,7 +59,6 @@
@e core {
margin: 0;
display: inline-block;
vertical-align: middle;
position: relative;
size: var(--switch-width) var(--switch-height);
border: 1px solid var(--switch-off-color);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment