Commit 1284a4f2 authored by 杨奕's avatar 杨奕 Committed by baiyaaaaa

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

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