mirror of https://github.com/ElemeFE/element
CheckBox: hide the native input using z-index (#9746)
fix issue #9677 https://github.com/ElemeFE/element/issues/9677pull/9407/merge
parent
472b72423e
commit
c726289094
|
@ -229,7 +229,7 @@
|
||||||
margin: 0;
|
margin: 0;
|
||||||
width: 0;
|
width: 0;
|
||||||
height: 0;
|
height: 0;
|
||||||
left: -999px;
|
z-index: -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@include e(label) {
|
@include e(label) {
|
||||||
|
@ -288,7 +288,7 @@
|
||||||
outline: none;
|
outline: none;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
left: -999px;
|
z-index: -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.is-checked {
|
&.is-checked {
|
||||||
|
|
Loading…
Reference in New Issue