From e5597b266abc5a8be5ac4414a13ba6b4579521b5 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Wed, 18 Nov 2015 15:23:50 -0500 Subject: [PATCH] adjusted margin for jquery event so the search bar stays put --- js/app.js | 2 +- js/custom/pageSetup.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/app.js b/js/app.js index 6da9415..51407a8 100644 --- a/js/app.js +++ b/js/app.js @@ -200,7 +200,7 @@ $(document).ready(function () { $("li a.search").on('click', function () { if ($(".searchform").css("display") === "none") { $(".searchform").css("display", "inherit"); - $('header ul.social').css("margin","10px 118px 0px"); + $('header ul.social').css("margin","10px 0px 0px"); $(".searchform input[type='submit']").css("display", "inherit"); } else { $(".searchform").css("display", "none"); diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index d1ba0ff..a90758c 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -191,7 +191,7 @@ $(document).ready(function () { $("li a.search").on('click', function () { if ($(".searchform").css("display") === "none") { $(".searchform").css("display", "inherit"); - $('header ul.social').css("margin","10px 118px 0px"); + $('header ul.social').css("margin","10px 0px 0px"); $(".searchform input[type='submit']").css("display", "inherit"); } else { $(".searchform").css("display", "none"); -- 2.17.1