From 47ad54b04fe62459a0c6789aaa4f328ef0f421d7 Mon Sep 17 00:00:00 2001 From: Nick Downing Date: Wed, 26 Jan 2022 23:24:48 +1100 Subject: [PATCH] Remove modal fade because of an annoying glitch during fade in/out (it seems to move slightly in the horizontal, which may be because of scrollbar visibility) --- _lib/navbar.jst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/_lib/navbar.jst b/_lib/navbar.jst index 53305ef..8dc8225 100644 --- a/_lib/navbar.jst +++ b/_lib/navbar.jst @@ -227,7 +227,7 @@ return async (env, head, body, scripts) => { } // hidden part - div#navbar-sign-in-modal.modal.fade(role="dialog") { + div.modal#navbar-sign-in-modal(tabindex="-1") { div.modal-dialog { div.modal-content { div.modal-header { @@ -296,7 +296,7 @@ return async (env, head, body, scripts) => { } } - div#navbar-feedback-modal.modal.fade(role="dialog") { + div.modal#navbar-feedback-modal(tabindex="-1") { div.modal-dialog { div.modal-content { div.modal-header { @@ -372,7 +372,7 @@ return async (env, head, body, scripts) => { } } - div#navbar-message-modal.modal.fade(role="dialog") { + div.modal#navbar-message-modal(tabindex="-1") { div.modal-dialog { div.modal-content { div.modal-header { -- 2.34.1