mirror of
https://github.com/dergigi/boris.git
synced 2025-12-31 21:44:26 +01:00
style(debug): update ciphertext and plaintext display to match logs textbox style
This commit is contained in:
@@ -171,10 +171,9 @@ const Debug: React.FC = () => {
|
||||
}
|
||||
|
||||
const CodeBox = ({ value }: { value: string }) => (
|
||||
<pre
|
||||
className="textarea"
|
||||
style={{ whiteSpace: 'pre-wrap', overflowWrap: 'anywhere' }}
|
||||
>{value || '—'}</pre>
|
||||
<div className="max-h-32 overflow-y-auto font-mono text-xs leading-relaxed p-2 bg-gray-100 dark:bg-gray-800 rounded">
|
||||
{value || '—'}
|
||||
</div>
|
||||
)
|
||||
|
||||
const getLiveTiming = (mode: 'nip44' | 'nip04', type: 'encrypt' | 'decrypt') => {
|
||||
|
||||
Reference in New Issue
Block a user