commit 509b91ca2ccfd0fbfbb04c7140ab0546aaf75fba
Author: Quentin Albrand <quentin.albrand@gmail.com>
Date:   Wed Jul 18 17:43:20 2012 +0200

    Fixing #1686148

diff --git a/skins/default/sweaver-default.css b/skins/default/sweaver-default.css
index 16d2579..5180c64 100644
--- a/skins/default/sweaver-default.css
+++ b/skins/default/sweaver-default.css
@@ -39,7 +39,11 @@
 /* correct the body so that the Sweaver frontend does not overlap any content */
 
 body.sweaver {
-  margin-bottom: 287px !important;
+  margin-bottom: 299px !important;
+}
+
+html.sweaver {
+  height: auto;
 }
 
 /* Show which selector was hovered/clicked */
diff --git a/skins/grey/sweaver-grey.css b/skins/grey/sweaver-grey.css
index 75a3367..20f824d 100644
--- a/skins/grey/sweaver-grey.css
+++ b/skins/grey/sweaver-grey.css
@@ -42,6 +42,10 @@ body.sweaver {
   margin-bottom: 299px !important;
 }
 
+html.sweaver {
+  height: auto;
+}
+
 /* Show which selector was hovered/clicked */
 
 .sweaver-hovered {
diff --git a/sweaver_plugin.js b/sweaver_plugin.js
index faccceb..c726717 100644
--- a/sweaver_plugin.js
+++ b/sweaver_plugin.js
@@ -42,6 +42,7 @@ $(document).ready(function() {
   // Add sweaver class for extra margin at bottom.
   if (Drupal.Sweaver.open != 'false') {
     $('body').addClass('sweaver');
+    $('html').addClass('sweaver');
   }
   
   // Open/close the Sweaver bar.
@@ -96,6 +97,7 @@ Drupal.Sweaver.toggleBar = function (tab) {
   }
   // Hide the extra margin at the bottom of the screen.
   $('body').toggleClass('sweaver');
+  $('html').toggleClass('sweaver');
 
   Drupal.Sweaver.toggleClicked();
   Drupal.Sweaver.cookie('sweaver_open', Drupal.Sweaver.open);
