From 66665f6b41268a506c37dbd070f171923c8f35cd Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Thu, 28 Jul 2016 14:26:46 -0400 Subject: [PATCH] margin value for datepicker not reflecting properly on mobile device as it does on pc, testing new value --- 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 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'}); } }); -- 2.17.1