]> git.ipfire.org Git - thirdparty/foundation/foundation-emails.git/commitdiff
Fix top offset on inliner preview iframe
authorEric Morris <eric@zurb.com>
Tue, 19 Nov 2013 23:12:08 +0000 (15:12 -0800)
committerEric Morris <eric@zurb.com>
Tue, 19 Nov 2013 23:12:08 +0000 (15:12 -0800)
javascripts/app.js
sass/app.scss
stylesheets/app.css

index 4ef57d0fae6fdaf7173b41708cc98cffa3891948..af60cbaf8de7f1258ad69bfa5e837b56c089e915 100644 (file)
@@ -67,7 +67,7 @@ $(document).on('click', '#showPreview', function(e) {
   }, 700);
   $('#previewModal').delay(100).addClass('active');
   $('html, body').css('max-height', $(window).height()).css('overflow', 'hidden');
-  $('iframe').height($(window).height() - 40)
+  $('iframe').height($(window).height() - 47)
 });
 
 $(document).on('click', '#inlinerReset', function(e) {
index 67e709e4cac71049e71d013e568daefe759ade8a..d6e8e0e288ecb72e86ea817890474136962a70ae 100644 (file)
@@ -584,7 +584,7 @@ ul.mobile-nav { display: block; margin-bottom: 0;
   }
 
   iframe {
-    margin-top: 40px;
+    margin-top: 47px;
     border: none;
     width: 100%;
     height: 100%;
index 5654e613880653229595d1d95d83357daacff348..29cfb3f04e46064472ea68ab922ebdbe142bab80 100644 (file)
@@ -12747,7 +12747,7 @@ ul.mobile-nav a.current {
 }
 /* line 586, ../sass/app.scss */
 #previewModal iframe {
-  margin-top: 40px;
+  margin-top: 47px;
   border: none;
   width: 100%;
   height: 100%;