From 7b280448d372a11b061a4c23aa74dd572713170c Mon Sep 17 00:00:00 2001 From: Zayd Radha <radhazay@msu.edu> Date: Mon, 19 Mar 2018 11:50:12 -0400 Subject: [PATCH] Fixed url page widths --- public/js/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/client.js b/public/js/client.js index 41205f0..bd64bcc 100755 --- a/public/js/client.js +++ b/public/js/client.js @@ -198,7 +198,7 @@ function addHotkey(xpos, ypos, url, page, id){ $('#'+page).append('<button class = "draggable activestyle url-button" id='+ id +'>' + url + '</button>'); var ele = $('#' + id) ele.text(url) - ele.css({position:'absolute', left:xpos + '%', top:ypos + '%', minHeight: (keyboardWidth*.02).toString() + "px"}); + ele.css({position:'absolute', left:xpos + '%', top:ypos + '%', minHeight: (keyboardWidth*.02).toString() + "px", width: '20%'}); hotkeyStylize(ele, page, id, url) } -- GitLab