diff --git a/index.html b/index.html index 9c05545..80b588f 100644 --- a/index.html +++ b/index.html @@ -5858,7 +5858,7 @@ body { font-family: Arial; background-image: url('images/diamonds.png'); } #paperarea .keyarea { border: 1px solid #BFBFBF; border-top: 0; } #paperarea .keyarea.art { display: block; height: auto; border: 0; font-family: Ubuntu, Arial; padding: 0; margin: 0; } #paperarea .artwallet .papersvg { width: 1004px; height: 420px; border: 0; margin: 0; padding: 0; left: 0; } -#paperarea .artwallet .qrcode_public { top: 272px; left: 794px; z-index: 100; margin: 0; float: none; display: block; position: absolute; background-color: #FFFFFF; +#paperarea .artwallet .qrcode_public { top: 260px; left: 780px; z-index: 100; margin: 0; float: none; display: block; position: absolute; background-color: #FFFFFF; padding: 5px 5px 2px 5px; } #paperarea .artwallet .qrcode_private { top: 36px; right: 446px; z-index: 100; margin: 0; float: none; display: block; position: absolute; background-color: #FFFFFF; padding: 5px 5px 2px 5px; @@ -8274,9 +8274,13 @@ ninja.wallets.paperwallet = { showArtisticWallet: function (idPostFix, bitcoinAddress, privateKey) { var keyValuePair = {}; keyValuePair["qrcode_public" + idPostFix] = bitcoinAddress; - keyValuePair["qrcode_private" + idPostFix] = privateKey; - ninja.qrCode.showQrCode(keyValuePair, 2.8); - document.getElementById("btcaddress" + idPostFix).innerHTML = bitcoinAddress; + ninja.qrCode.showQrCode(keyValuePair, 3.5); + + var keyValuePair = {}; + keyValuePair["qrcode_private" + idPostFix] = privateKey; + ninja.qrCode.showQrCode(keyValuePair, 2.8); + + document.getElementById("btcaddress" + idPostFix).innerHTML = bitcoinAddress; if (ninja.wallets.paperwallet.encrypt) { var half = privateKey.length / 2; diff --git a/src/main.css b/src/main.css index 2856908..0dfadd8 100644 --- a/src/main.css +++ b/src/main.css @@ -106,7 +106,7 @@ body { font-family: Arial; background-image: url('images/diamonds.png'); } #paperarea .keyarea { border: 1px solid #BFBFBF; border-top: 0; } #paperarea .keyarea.art { display: block; height: auto; border: 0; font-family: Ubuntu, Arial; padding: 0; margin: 0; } #paperarea .artwallet .papersvg { width: 1004px; height: 420px; border: 0; margin: 0; padding: 0; left: 0; } -#paperarea .artwallet .qrcode_public { top: 272px; left: 794px; z-index: 100; margin: 0; float: none; display: block; position: absolute; background-color: #FFFFFF; +#paperarea .artwallet .qrcode_public { top: 260px; left: 780px; z-index: 100; margin: 0; float: none; display: block; position: absolute; background-color: #FFFFFF; padding: 5px 5px 2px 5px; } #paperarea .artwallet .qrcode_private { top: 36px; right: 446px; z-index: 100; margin: 0; float: none; display: block; position: absolute; background-color: #FFFFFF; padding: 5px 5px 2px 5px; diff --git a/src/ninja.paperwallet.js b/src/ninja.paperwallet.js index 29dd047..3e938a4 100644 --- a/src/ninja.paperwallet.js +++ b/src/ninja.paperwallet.js @@ -150,9 +150,13 @@ ninja.wallets.paperwallet = { showArtisticWallet: function (idPostFix, bitcoinAddress, privateKey) { var keyValuePair = {}; keyValuePair["qrcode_public" + idPostFix] = bitcoinAddress; - keyValuePair["qrcode_private" + idPostFix] = privateKey; - ninja.qrCode.showQrCode(keyValuePair, 2.8); - document.getElementById("btcaddress" + idPostFix).innerHTML = bitcoinAddress; + ninja.qrCode.showQrCode(keyValuePair, 3.5); + + var keyValuePair = {}; + keyValuePair["qrcode_private" + idPostFix] = privateKey; + ninja.qrCode.showQrCode(keyValuePair, 2.8); + + document.getElementById("btcaddress" + idPostFix).innerHTML = bitcoinAddress; if (ninja.wallets.paperwallet.encrypt) { var half = privateKey.length / 2;