From: Anthony Talarico Date: Thu, 28 Jul 2016 18:26:46 +0000 (-0400) Subject: margin value for datepicker not reflecting properly on mobile device as it does on... X-Git-Tag: v1.0.0^2~240 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=66665f6b41268a506c37dbd070f171923c8f35cd;p=WP-Themes%2Fpetoskeyarea.git margin value for datepicker not reflecting properly on mobile device as it does on pc, testing new value --- diff --git a/js/app.js b/js/app.js index dfd6d90..7a570d4 100644 --- a/js/app.js +++ b/js/app.js @@ -82,7 +82,7 @@ $(document).ready(function () { $(off_canvas_departure).datepicker({ beforeShow: function(input, inst) { - inst.dpDiv.css({marginTop: '175px', marginLeft: '-20px'}); + inst.dpDiv.css({marginTop: '1px', marginLeft: '-20px'}); } }); diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index 0067076..0745e16 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -73,7 +73,7 @@ $(document).ready(function () { $(off_canvas_departure).datepicker({ beforeShow: function(input, inst) { - inst.dpDiv.css({marginTop: '175px', marginLeft: '-20px'}); + inst.dpDiv.css({marginTop: '1px', marginLeft: '-20px'}); } });