From 3e3deb2f1750b97684abd36b23b01b37dd391690 Mon Sep 17 00:00:00 2001 From: Rohitt Vashishtha Date: Wed, 31 Jul 2019 12:41:25 +0530 Subject: [PATCH] typeahead: Move tip text to bottom. --- static/styles/compose.scss | 3 +-- static/third/bootstrap-typeahead/typeahead.js | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/static/styles/compose.scss b/static/styles/compose.scss index b9385643a9..09145062ca 100644 --- a/static/styles/compose.scss +++ b/static/styles/compose.scss @@ -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; } diff --git a/static/third/bootstrap-typeahead/typeahead.js b/static/third/bootstrap-typeahead/typeahead.js index 509f5817a6..1d92ddf4d7 100644 --- a/static/third/bootstrap-typeahead/typeahead.js +++ b/static/third/bootstrap-typeahead/typeahead.js @@ -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