-
Notifications
You must be signed in to change notification settings - Fork 186
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eaa949e
commit 2734678
Showing
4 changed files
with
312 additions
and
163 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,19 @@ | ||
.autocomplete-suggestions { | ||
text-align: left; cursor: default; border: 1px solid #ccc; border-top: 0; background: #fff; box-shadow: -1px 1px 3px rgba(0,0,0,.1); | ||
|
||
/* core styles should not be changed */ | ||
position: absolute; display: none; z-index: 9999; max-height: 254px; overflow: hidden; overflow-y: auto; box-sizing: border-box; | ||
position: absolute; /* display: none; z-index: 9999; */ max-height: 254px; overflow: hidden; overflow-y: auto; box-sizing: border-box; | ||
left: auto; top: 100%; width: 100%; margin: 0; contain: content; /* 1.2.0 */ | ||
} | ||
.autocomplete-suggestion { position: relative; padding: 0 .6em; line-height: 23px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 1.02em; color: #333; } | ||
.autocomplete-suggestion b { font-weight: normal; color: #1f8dd6; } | ||
.autocomplete-suggestion.selected { background: #f0f0f0; } | ||
|
||
autocomplete-holder { | ||
overflow: visible; position: absolute; left: auto; top: auto; width: 100%; height: 0; z-index: 9999; box-sizing: border-box; margin:0; padding:0; border:0; contain: size layout; | ||
} | ||
|
||
autocomplete-holder[position="top"] { | ||
margin-top: 0 !important; | ||
} | ||
autocomplete-holder[position="top"] .autocomplete-suggestions { | ||
transform: translateY(-100%); | ||
} |
Oops, something went wrong.