You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bf...@apache.org on 2013/10/01 21:06:37 UTC

[2/2] git commit: updated refs/heads/ui-restyle to 5c827f7

Fix overlay width/height


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/5c827f76
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/5c827f76
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/5c827f76

Branch: refs/heads/ui-restyle
Commit: 5c827f762e8fd54eeb173c81d1d5330d09f389e1
Parents: 02984bc
Author: Brian Federle <br...@citrix.com>
Authored: Tue Oct 1 12:06:20 2013 -0700
Committer: Brian Federle <br...@citrix.com>
Committed: Tue Oct 1 12:06:20 2013 -0700

----------------------------------------------------------------------
 ui/scripts/ui/widgets/overlay.js | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/5c827f76/ui/scripts/ui/widgets/overlay.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui/widgets/overlay.js b/ui/scripts/ui/widgets/overlay.js
index 95db303..833eb9b 100644
--- a/ui/scripts/ui/widgets/overlay.js
+++ b/ui/scripts/ui/widgets/overlay.js
@@ -45,6 +45,9 @@
     };
 
     $(window).bind('resize scroll', function() {
-        $('.overlay').css('top', $(window).scrollTop());
+        $('.overlay').css({
+            width: $(window).width(),
+            height: $(window).height()
+        });
     });
 })(window.jQuery);