diff --git a/index.html b/index.html index 88d5d33..56b6435 100644 --- a/index.html +++ b/index.html @@ -5894,11 +5894,13 @@ body { font-family: Arial; background-image: url('images/diamonds.png'); height: } #paperarea .artwallet .btcencryptedkey { - position: absolute; top: 16px; right: 357px; z-index: 100; font-size: 12px; background-color: transparent; - font-weight:bold; color: #000000; margin: 0; width: 292px; height: 32px; text-align: center; - -ms-transform: rotate(180deg); /* IE 9 */ - -webkit-transform: rotate(180deg); /* Chrome, Safari, Opera */ - transform: rotate(180deg); + position: absolute; top: 86px; right: 544px; z-index: 100; font-size: 11px; background-color: transparent; + font-weight:100; color: #000000; margin: 0; width: 100px; height: 32px; text-align: center; + word-wrap: break-word; + -ms-transform: rotate(90deg); /* IE 9 */ + -webkit-transform: rotate(90deg); /* Chrome, Safari, Opera */ + transform: rotate(90deg); + font-family: Courier, monospace; } .paperWalletText { bottom: 8px; height: 156px; left: 339px; padding: 15px 15px 17px 37px; position: absolute; width: 265px; font-size: 10px; color: #383838; line-height: 15px; } @@ -8350,8 +8352,7 @@ ninja.wallets.paperwallet = { document.getElementById("btcaddress" + idPostFix).innerHTML = bitcoinAddress; if (ninja.wallets.paperwallet.encrypt) { - var half = privateKey.length / 2; - document.getElementById("btcencryptedkey" + idPostFix).innerHTML = privateKey.slice(0, half) + '
' + privateKey.slice(half); + document.getElementById("btcencryptedkey" + idPostFix).innerHTML = privateKey; } else { document.getElementById("btcprivwif" + idPostFix).innerHTML = privateKey; diff --git a/src/main.css b/src/main.css index a6c04de..276c10e 100644 --- a/src/main.css +++ b/src/main.css @@ -142,11 +142,13 @@ body { font-family: Arial; background-image: url('images/diamonds.png'); height: } #paperarea .artwallet .btcencryptedkey { - position: absolute; top: 16px; right: 357px; z-index: 100; font-size: 12px; background-color: transparent; - font-weight:bold; color: #000000; margin: 0; width: 292px; height: 32px; text-align: center; - -ms-transform: rotate(180deg); /* IE 9 */ - -webkit-transform: rotate(180deg); /* Chrome, Safari, Opera */ - transform: rotate(180deg); + position: absolute; top: 86px; right: 544px; z-index: 100; font-size: 11px; background-color: transparent; + font-weight:100; color: #000000; margin: 0; width: 100px; height: 32px; text-align: center; + word-wrap: break-word; + -ms-transform: rotate(90deg); /* IE 9 */ + -webkit-transform: rotate(90deg); /* Chrome, Safari, Opera */ + transform: rotate(90deg); + font-family: Courier, monospace; } .paperWalletText { bottom: 8px; height: 156px; left: 339px; padding: 15px 15px 17px 37px; position: absolute; width: 265px; font-size: 10px; color: #383838; line-height: 15px; } diff --git a/src/ninja.paperwallet.js b/src/ninja.paperwallet.js index 5073fec..6a83c01 100644 --- a/src/ninja.paperwallet.js +++ b/src/ninja.paperwallet.js @@ -160,8 +160,7 @@ ninja.wallets.paperwallet = { document.getElementById("btcaddress" + idPostFix).innerHTML = bitcoinAddress; if (ninja.wallets.paperwallet.encrypt) { - var half = privateKey.length / 2; - document.getElementById("btcencryptedkey" + idPostFix).innerHTML = privateKey.slice(0, half) + '
' + privateKey.slice(half); + document.getElementById("btcencryptedkey" + idPostFix).innerHTML = privateKey; } else { document.getElementById("btcprivwif" + idPostFix).innerHTML = privateKey;