diff --git a/dashboard-ui/css/search.css b/dashboard-ui/css/search.css index e1a49b3bfd..c4c3843a7a 100644 --- a/dashboard-ui/css/search.css +++ b/dashboard-ui/css/search.css @@ -141,18 +141,10 @@ @media all and (min-width: 1440px) { .txtSearch { - width: 450px; + width: 400px; } .searchHints { - width: 448px; - } - - .searchHintImage { - width: 12%; - } - - .searchHintContent { - width: 88%; + width: 398px; } } diff --git a/dashboard-ui/scripts/search.js b/dashboard-ui/scripts/search.js index 28efdeb2bd..a6cfd448d8 100644 --- a/dashboard-ui/scripts/search.js +++ b/dashboard-ui/scripts/search.js @@ -253,5 +253,13 @@ } window.Search = new search(); + + $(document).on('pagehide', ".page", function () { + + hideFlyout(this); + + $('#txtSearch', this).val(''); + }); + })(jQuery, document, window, clearTimeout, setTimeout); \ No newline at end of file