typeahead: Move tip text to bottom.

This commit is contained in:
Rohitt Vashishtha
2019-07-31 12:41:25 +05:30
committed by Tim Abbott
parent 68f6f622a7
commit 3e3deb2f17
2 changed files with 2 additions and 3 deletions

View File

@@ -493,9 +493,8 @@ a#undo_markdown_preview {
.typeahead-header {
margin: 0;
padding-left: 20px;
padding-bottom: 5px;
padding-right: 20px;
border-bottom: 1px solid hsla(0, 0%, 0%, 0.2);
border-top: 1px solid hsla(0, 0%, 0%, 0.2);
display: flex;
align-items: center;
}

View File

@@ -67,8 +67,8 @@
this.highlighter = this.options.highlighter || this.highlighter
this.updater = this.options.updater || this.updater
this.$container = $(this.options.container).appendTo('body')
this.$header = $(this.options.header_html).appendTo(this.$container)
this.$menu = $(this.options.menu).appendTo(this.$container)
this.$header = $(this.options.header_html).appendTo(this.$container)
this.source = this.options.source
this.shown = false
this.dropup = this.options.dropup