From: Anthony Talarico Date: Wed, 23 Mar 2016 16:07:53 +0000 (-0400) Subject: adjusting map container height to accommdate iframe size X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=eda12382c49b94c319ab92f882cc97ad4a0f15ae;p=WP-Themes%2Fglmthemes%2Fpellstonairport.git adjusting map container height to accommdate iframe size --- 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; } -