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 --- css/bitcoin_pos.css | 4 ++-- js/bitcoin_pos.js | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/css/bitcoin_pos.css b/css/bitcoin_pos.css index 967eb9c2..eb6e7658 100644 --- a/css/bitcoin_pos.css +++ b/css/bitcoin_pos.css @@ -1,7 +1,7 @@ body { text-align: center; } body { font-size: 100%; line-height: 100%; } -input[type="text"], span.btn { font-size: 1.5em; height: 1.5em; width: 5em; } -p, span { font-size: 1.5em; } +input[type="text"], span.btn { font-size: 1.4em; height: 1.4em; width: 5em; } +p, span { font-size: 1.4em; } small, label { color: #999; font-size: 1.2em; } strong#total { font-size: 2em; } input[type="submit"] { display: none; } 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