mirror of
https://github.com/dergigi/boris.git
synced 2026-01-03 15:04:24 +01:00
ui(debug): add subtle background to payload textarea for better editability indication
This commit is contained in:
@@ -274,7 +274,12 @@ const Debug: React.FC = () => {
|
||||
<h3 className="section-title">Encryption Tools</h3>
|
||||
<div className="setting-group">
|
||||
<label className="setting-label">Payload</label>
|
||||
<textarea className="textarea w-full" value={payload} onChange={e => setPayload(e.target.value)} rows={3} />
|
||||
<textarea
|
||||
className="textarea w-full bg-gray-50 dark:bg-gray-900 border border-gray-200 dark:border-gray-700"
|
||||
value={payload}
|
||||
onChange={e => setPayload(e.target.value)}
|
||||
rows={3}
|
||||
/>
|
||||
<div className="flex gap-2 mt-3">
|
||||
<button className="btn btn-secondary" onClick={() => { setCipher44(''); setCipher04(''); setPlain44(''); setPlain04(''); setTEncrypt44(null); setTEncrypt04(null); setTDecrypt44(null); setTDecrypt04(null) }}>Clear</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user