-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
clip results instead of moving them (#2727)
* clip results instead of moving them fixes #1413 fixes #1410 fixes #1686 fixes #2402 fixes #2445 fixes #2185 * no more need for rtl fix in demo
- Loading branch information
Showing
3 changed files
with
3 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,16 +14,16 @@ $chosen-sprite-retina: url('[email protected]') !default; | |
.chosen-drop { | ||
position: absolute; | ||
top: 100%; | ||
left: -9999px; | ||
z-index: 1010; | ||
width: 100%; | ||
border: 1px solid #aaa; | ||
border-top: 0; | ||
background: #fff; | ||
box-shadow: 0 4px 5px rgba(#000,.15); | ||
clip: rect(0,0,0,0); | ||
} | ||
&.chosen-with-drop .chosen-drop { | ||
left: 0; | ||
clip: auto; | ||
} | ||
a{ | ||
cursor: pointer; | ||
|
@@ -136,7 +136,7 @@ $chosen-sprite-retina: url('[email protected]') !default; | |
} | ||
&.chosen-container-single-nosearch .chosen-search { | ||
position: absolute; | ||
left: -9999px; | ||
clip: rect(0,0,0,0); | ||
} | ||
} | ||
/* @end */ | ||
|
@@ -373,10 +373,6 @@ $chosen-sprite-retina: url('[email protected]') !default; | |
} | ||
} | ||
} | ||
&.chosen-container-single-nosearch .chosen-search, | ||
.chosen-drop { | ||
left: 9999px; | ||
} | ||
&.chosen-container-single .chosen-results { | ||
margin: 0 0 4px 4px; | ||
padding: 0 4px 0 0; | ||
|