CSS bug when using BIP38 Encrypt fixed.

This commit is contained in:
Lucas Legname 2014-04-28 21:39:12 +02:00
parent 48eabb1666
commit 5c8c39d4d2
3 changed files with 16 additions and 14 deletions

View file

@ -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) + '<br />' + privateKey.slice(half);
document.getElementById("btcencryptedkey" + idPostFix).innerHTML = privateKey;
}
else {
document.getElementById("btcprivwif" + idPostFix).innerHTML = privateKey;

View file

@ -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; }

View file

@ -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) + '<br />' + privateKey.slice(half);
document.getElementById("btcencryptedkey" + idPostFix).innerHTML = privateKey;
}
else {
document.getElementById("btcprivwif" + idPostFix).innerHTML = privateKey;