forked from coolaj86/bluecrypt-keypairs.js
better binary der display
This commit is contained in:
parent
70103de28d
commit
36f5337f7d
2
app.js
2
app.js
|
@ -59,7 +59,7 @@
|
|||
})
|
||||
}
|
||||
|
||||
$('.js-der').innerText = JSON.stringify(der, null, 2);
|
||||
$('.js-der').innerText = der;
|
||||
$('.js-toc-der').hidden = false;
|
||||
$('.js-jwk').innerText = JSON.stringify(results, null, 2);
|
||||
$('.js-loading').hidden = true;
|
||||
|
|
|
@ -6,6 +6,14 @@
|
|||
width: 42em;
|
||||
height: 10em;
|
||||
}
|
||||
/* need to word wrap the binary no space der */
|
||||
.js-der{
|
||||
white-space: pre-wrap; /* CSS3 */
|
||||
white-space: -moz-pre-wrap; /* Firefox */
|
||||
white-space: -pre-wrap; /* Opera <7 */
|
||||
white-space: -o-pre-wrap; /* Opera 7 */
|
||||
word-wrap: break-word; /* IE */
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
|
Loading…
Reference in New Issue