Commit c543c78b authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Align the search dropdown a bit better.

parent ad8b7d16
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -85,7 +85,7 @@ Ext.define('Docs.controller.Search', {
        Docs.App.getStore('Search').loadData(results, false);
        // position dropdown below search box
        var dropdown = Ext.getCmp('quick-search');
        dropdown.alignTo('search-field', 'bl', [-23, 0]);
        dropdown.alignTo('search-field', 'bl', [-23, 2]);
        // hide dropdown when nothing found
        if (results.length === 0) {
            dropdown.hide();
+1 −2
Original line number Diff line number Diff line
@@ -108,12 +108,11 @@ a:hover {
#quick-search {
  border-style: solid;
  border-color: #bebdbf;
  border-width: 0 1px;
  border-width: 1px 1px 0 1px;
  background: white;
  position: absolute;
  width: 190px;
  top: 23px;
  padding-top: 16px;
  left: 20px;
  z-index: 5;