tweak style
This commit is contained in:
parent
7edecc9f2a
commit
61d33f4269
2 changed files with 5 additions and 1 deletions
|
|
@ -225,6 +225,8 @@ var Autocomplete = function() {
|
|||
if (keepPopupPosition && this.base && this.completions) {
|
||||
var pos = this.editor.getCursorPosition();
|
||||
var prefix = ace.session.getTextRange({start: this.base, end: pos});
|
||||
if (prefix == this.completions.filterText)
|
||||
return;
|
||||
this.completions.setFilter(prefix);
|
||||
if (!this.completions.filtered.length)
|
||||
return this.detach();
|
||||
|
|
|
|||
|
|
@ -246,12 +246,14 @@ dom.importCssString("\
|
|||
z-index: -1;\
|
||||
}\
|
||||
.ace_autocomplete .ace_completion-highlight{\
|
||||
font-weight: bold\
|
||||
font-weight: bold;\
|
||||
text-shadow: 0 0 0.5px #000\
|
||||
}\
|
||||
.ace_autocomplete {\
|
||||
width: 280px;\
|
||||
z-index: 200000;\
|
||||
background: #fbfbfb;\
|
||||
color: #444;\
|
||||
border: 1px lightgray solid;\
|
||||
position: fixed;\
|
||||
box-shadow: 2px 3px 5px rgba(0,0,0,.2);\
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue