Switch: remove button and text z-index, fixed #3932 (#3934)

pull/3950/head
杨奕 2017-04-01 14:20:09 +08:00 committed by baiyaaaaa
parent d233a16821
commit 1284a4f2da
1 changed files with 0 additions and 2 deletions

View File

@ -20,7 +20,6 @@
@e label {
transition: .2s;
position: absolute;
z-index: 10;
size: var(--switch-width) var(--switch-height);
left: 0;
top: 0;
@ -74,7 +73,6 @@
border-radius: var(--border-radius-circle);
transition: transform .3s;
size: var(--switch-button-size);
z-index: 20;
background-color: var(--color-white);
}
}