From eda12382c49b94c319ab92f882cc97ad4a0f15ae Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Wed, 23 Mar 2016 12:07:53 -0400 Subject: [PATCH] adjusting map container height to accommdate iframe size --- js/app.js | 2 +- js/custom/pageSetup.js | 2 +- scss/_main.scss | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/js/app.js b/js/app.js index 0aee2dc..f7f6fee 100644 --- a/js/app.js +++ b/js/app.js @@ -167,6 +167,6 @@ $(document).ready(function () { }); } }); - $("#embedded-map-display").height($(".wu-wrapper").outerHeight()); + $("#embedded-map-display").height($(".wu-wrapper").outerHeight() + 2); $("#embedded-map-display").find("iframe").height($(".wu-wrapper").outerHeight()); }); diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index 1ccf9db..a2110f5 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -42,6 +42,6 @@ $(document).ready(function () { }); } }); - $("#embedded-map-display").height($(".wu-wrapper").outerHeight()); + $("#embedded-map-display").height($(".wu-wrapper").outerHeight() + 2); $("#embedded-map-display").find("iframe").height($(".wu-wrapper").outerHeight()); }); diff --git a/scss/_main.scss b/scss/_main.scss index a2ee9e2..4ad4303 100644 --- a/scss/_main.scss +++ b/scss/_main.scss @@ -58,4 +58,3 @@ main { #weatherWidget{ min-height: 250px; } - -- 2.17.1