Skip to content

Commit fb158ed

Browse files
committed
change how offscreen css is defined. finxes select2#1011
1 parent 814e8b5 commit fb158ed

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

select2.css

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,8 +589,14 @@ disabled look for disabled choices in the results dropdown
589589
}
590590

591591
.select2-offscreen {
592+
border: 0;
593+
clip: rect(0 0 0 0);
594+
height: 1px;
595+
margin: -1px;
596+
overflow: hidden;
597+
padding: 0;
592598
position: absolute;
593-
left: -10000px;
599+
width: 1px;
594600
}
595601

596602
/* Retina-ize icons */

0 commit comments

Comments
 (0)