From e4cc6356e8bb80fedfa36f9b354f7cd0b8ba88ba Mon Sep 17 00:00:00 2001 From: iFargle Date: Tue, 21 Mar 2023 19:58:03 +0900 Subject: [PATCH] test --- renderer.py | 6 ++++-- static/js/custom.js | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/renderer.py b/renderer.py index 5744388..fbbe44c 100644 --- a/renderer.py +++ b/renderer.py @@ -583,18 +583,20 @@ def oidc_nav_mobile(user_name, email_address, name): def render_search(): html_payload = """ -
  • +
  • + +
  • """ return Markup(html_payload) diff --git a/static/js/custom.js b/static/js/custom.js index 4410f2d..376d929 100644 --- a/static/js/custom.js +++ b/static/js/custom.js @@ -11,7 +11,7 @@ $(document).ready(function() { $('.search-hide').addClass('hide'); if (trig == 1){ $('#navfix2').animate({ - width: '+=210', + width: '100%', marginRight: 0 }, 200); @@ -22,7 +22,7 @@ $(document).ready(function() { // if user leaves the form the width will go back to original state $("#search").focusout(function() { $('#navfix2').animate({ - width: '-=210' + width: '64' }, 200); trig = trig - 1; //handle other nav elements visibility first to avoid push down