diff options
| -rw-r--r-- | css/bitcoin_pos.css | 4 | ||||
| -rw-r--r-- | 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(); |
