From: Michael Jumper Date: Mon, 9 Apr 2012 00:17:38 +0000 (-0700) Subject: Fix touch button rendering. X-Git-Url: http://git.alex.org.uk Fix touch button rendering. --- diff --git a/src/main/webapp/client.xhtml b/src/main/webapp/client.xhtml index 312d3c3..7c38668 100644 --- a/src/main/webapp/client.xhtml +++ b/src/main/webapp/client.xhtml @@ -85,11 +85,7 @@ -
- - - -
+
diff --git a/src/main/webapp/scripts/interface.js b/src/main/webapp/scripts/interface.js index 4f897b8..b3681db 100644 --- a/src/main/webapp/scripts/interface.js +++ b/src/main/webapp/scripts/interface.js @@ -297,6 +297,7 @@ var GuacamoleUI = { GuacamoleUI.buttons.touchLogout.onclick = function() { window.location.href = "logout"; + GuacamoleUI.hideTouchMenu(); }; // Timeouts for detecting if users wants menu to open or close diff --git a/src/main/webapp/styles/client.css b/src/main/webapp/styles/client.css index 7477dd8..f595297 100644 --- a/src/main/webapp/styles/client.css +++ b/src/main/webapp/styles/client.css @@ -264,7 +264,7 @@ div#touchMenu { position: absolute; visibility: hidden; - display: inline-block; + white-space: pre; background: black; border: 1px solid silver; padding: 1em;