ui(debug): add character-wrap (break-all) to ciphertext textboxes

This commit is contained in:
Gigi
2025-10-17 12:49:28 +02:00
parent 6f413deb90
commit db12c89731

View File

@@ -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>
)