From 7ddc68e70700bb2a07b597c5e2772db40e03e5fd Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Thu, 19 Jan 2012 12:07:53 -0800 Subject: [PATCH] Style key containers, add line-height. --- guacamole-common-js/src/main/resources/oskeyboard.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/guacamole-common-js/src/main/resources/oskeyboard.js b/guacamole-common-js/src/main/resources/oskeyboard.js index 304f3eb40..a06226fd6 100644 --- a/guacamole-common-js/src/main/resources/oskeyboard.js +++ b/guacamole-common-js/src/main/resources/oskeyboard.js @@ -134,10 +134,11 @@ Guacamole.OnScreenKeyboard = function(url) { // Create container element var key_container = document.createElement("div"); + key_container.className = "guacamole-keyboard-key-container"; key_container.style.display = "inline-block"; key_container.style.fontSize = unit + "px"; - key_container.style.lineHeight = unit + "px"; key_container.style.height = unit + "px"; + key_container.style.lineHeight = unit + "px"; // Create element var key = document.createElement("div");