diff mbox

[Branch,~linaro-validation/lava-server/trunk] Rev 289: Make the user menu stay inside the window on FF 3.6

Message ID 20111109193312.5615.9276.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

Zygmunt Krynicki Nov. 9, 2011, 7:33 p.m. UTC
------------------------------------------------------------
revno: 289
committer: Zygmunt Krynicki <zygmunt.krynicki@linaro.org>
branch nick: lava-server
timestamp: Wed 2011-11-09 20:31:19 +0100
message:
  Make the user menu stay inside the window on FF 3.6
modified:
  lava_server/templates/layouts/content.html


--
lp:lava-server
https://code.launchpad.net/~linaro-validation/lava-server/trunk

You are subscribed to branch lp:lava-server.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-server/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'lava_server/templates/layouts/content.html'
--- lava_server/templates/layouts/content.html	2011-11-09 19:21:19 +0000
+++ lava_server/templates/layouts/content.html	2011-11-09 19:31:19 +0000
@@ -166,7 +166,7 @@ 
           // Relocate the sub-menu if we ran out of space
           if (_width > avail_width) {
             _width = sub_menu_width; 
-            _left = $("#lava-panel").outerWidth(true) - sub_menu_width;
+            _left = $("#lava-panel").outerWidth(true) - sub_menu_width - 4;
           }
           // Show the sub menu 
           var self = $(this);