From 817cac04ddd40a673342211bf5adfe147a0760ba Mon Sep 17 00:00:00 2001 From: George Cushen Date: Mon, 15 Apr 2019 19:08:16 +0100 Subject: [PATCH] fix(search): make search dialog easier to close Whilst searching, the navbar is now hidden to prevent user attempting to close dialog by clicking on navbar links. Otherwise, when clicking on an in-page anchor link in navbar, the page content will not be reloaded and will remain hidden underneath the dialog. Fix #996 --- layouts/partials/css/academic.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/css/academic.css b/layouts/partials/css/academic.css index 9d794e61..e2ebf9d3 100644 --- a/layouts/partials/css/academic.css +++ b/layouts/partials/css/academic.css @@ -274,7 +274,7 @@ small, transform: scale(1); -webkit-transform: scale(1); visibility: visible; - z-index: 11; /* Second highest index, after navbar. */ + z-index: 1031; /* Highest index, higher than navbar. */ } .searching #search-box #search-query {