Skip to content

Commit cb8072d

Browse files
committed
Merge pull request select2#1549 from cmfcmf/patch-1
Added !important to select2-offscreen to make sure that it is definitly hidden.
2 parents 521d133 + 2be293a commit cb8072d

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

select2.css

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -605,16 +605,16 @@ disabled look for disabled choices in the results dropdown
605605
}
606606

607607
.select2-offscreen, .select2-offscreen:focus {
608-
clip: rect(0 0 0 0);
609-
width: 1px;
610-
height: 1px;
611-
border: 0;
612-
margin: 0;
613-
padding: 0;
614-
overflow: hidden;
615-
position: absolute;
616-
outline: 0;
617-
left: 0px;
608+
clip: rect(0 0 0 0) !important;
609+
width: 1px !important;
610+
height: 1px !important;
611+
border: 0 !important;
612+
margin: 0 !important;
613+
padding: 0 !important;
614+
overflow: hidden !important;
615+
position: absolute !important;
616+
outline: 0 !important;
617+
left: 0px !important;
618618
}
619619

620620
.select2-display-none {

0 commit comments

Comments
 (0)