1
0
mirror of synced 2024-11-22 21:16:10 +03:00

improve offscreen element positioning. fixes #1217. fixes #1218. fixes #1074

This commit is contained in:
Igor Vaynberg 2013-05-06 15:23:23 -07:00
parent 8008bfa8dc
commit 5c709bac15

View File

@ -616,13 +616,14 @@ disabled look for disabled choices in the results dropdown
.select2-offscreen { .select2-offscreen {
border: 0; border: 0;
clip: rect(0 0 0 0); clip: rect(0 0 0 0);
height: 1px; height: 0;
margin: -1px; margin: 0;
overflow: hidden; overflow: hidden;
padding: 0; padding: 0;
position: absolute; position: absolute;
width: 1px; width: 0;
left: 0; display:block;
left: -10000px;
} }
.select2-display-none { .select2-display-none {