From 1303270b98b95e2ad8e5f2b90b13f42f5e74c24a Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sat, 20 Oct 2012 21:30:49 +0000 Subject: Adjust the sizing some more --- js/bitcoin_pos.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'js') diff --git a/js/bitcoin_pos.js b/js/bitcoin_pos.js index 6dcf49ce..eab06e6e 100644 --- a/js/bitcoin_pos.js +++ b/js/bitcoin_pos.js @@ -6,8 +6,7 @@ $(function() { var address = getParameterByName('address'); $('#received').hide(); - $('div.container-fluid').css('width', screen.width.toString() + 'px'); - $('div.container-fluid').css('width', 600 + 'px'); + $('div.container-fluid').css('width', Math.min(screen.width, 600) + 'px'); setupqr(); -- cgit v1.2.3