瀏覽代碼

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
George Cushen 6 年之前
父節點
當前提交
817cac04dd
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      layouts/partials/css/academic.css

+ 1 - 1
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 {