adjusting map container height to accommdate iframe size
authorAnthony Talarico <talarico@gaslightmedia.com>
Wed, 23 Mar 2016 16:07:53 +0000 (12:07 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Wed, 23 Mar 2016 16:07:53 +0000 (12:07 -0400)
js/app.js
js/custom/pageSetup.js
scss/_main.scss

index 0aee2dc..f7f6fee 100644 (file)
--- 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());
 });
index 1ccf9db..a2110f5 100644 (file)
@@ -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());
 });
index a2ee9e2..4ad4303 100644 (file)
@@ -58,4 +58,3 @@ main {
 #weatherWidget{
     min-height: 250px;
 }
-