mirror of
https://github.com/dergigi/boris.git
synced 2026-01-07 08:54:25 +01:00
ui(debug): add character-wrap (break-all) to ciphertext textboxes
This commit is contained in:
@@ -171,7 +171,7 @@ const Debug: React.FC = () => {
|
||||
}
|
||||
|
||||
const CodeBox = ({ value }: { value: string }) => (
|
||||
<div className="h-20 overflow-y-auto font-mono text-xs leading-relaxed p-2 bg-gray-100 dark:bg-gray-800 rounded whitespace-pre-wrap">
|
||||
<div className="h-20 overflow-y-auto font-mono text-xs leading-relaxed p-2 bg-gray-100 dark:bg-gray-800 rounded whitespace-pre-wrap break-all">
|
||||
{value || '—'}
|
||||
</div>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user