Pārlūkot izejas kodu

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

杨奕 8 gadi atpakaļ
vecāks
revīzija
1284a4f2da
1 mainītis faili ar 0 papildinājumiem un 2 dzēšanām
  1. 0 2
      packages/theme-default/src/switch.css

+ 0 - 2
packages/theme-default/src/switch.css

@@ -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);
       }
     }