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
This commit is contained in:
George Cushen committed 2019-04-15 19:08:16 +01:00
1 parent 308a81825d
commit 817cac04dd
1 file changed
+1 -1
+1 -1
View File
@@ -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 {