File tree Expand file tree Collapse file tree
packages/webui/src/wasm-utxo/addresses Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -339,6 +339,16 @@ class AddressConverter extends BaseComponent {
339339 margin: 0;
340340 }
341341
342+ .disclaimer {
343+ padding: 0.75rem 1rem;
344+ background: rgba(207, 172, 83, 0.1);
345+ border: 1px solid rgba(207, 172, 83, 0.4);
346+ border-radius: 6px;
347+ color: var(--warning, #CFAC53);
348+ margin-bottom: 1.5rem;
349+ font-size: 0.875rem;
350+ }
351+
342352 @media (max-width: 768px) {
343353 .result-row {
344354 grid-template-columns: 1fr auto;
@@ -370,6 +380,11 @@ class AddressConverter extends BaseComponent {
370380 h ( "span" , { } , "UTXO Address Converter" ) ,
371381 ) ,
372382 h ( "h1" , { } , "UTXO Address Converter" ) ,
383+ h (
384+ "div" ,
385+ { class : "disclaimer" } ,
386+ "⚠ Careful: funds sent to addresses of other networks may be lost forever!" ,
387+ ) ,
373388 h (
374389 "section" ,
375390 { class : "input-section" } ,
@@ -380,6 +395,9 @@ class AddressConverter extends BaseComponent {
380395 id : "address-input" ,
381396 placeholder : "Paste a utxo address..." ,
382397 rows : "2" ,
398+ spellcheck : "false" ,
399+ autocomplete : "off" ,
400+ style : "resize: none" ,
383401 oninput : ( e : Event ) => this . handleInput ( e ) ,
384402 } ) ,
385403 h (
You can’t perform that action at this time.
0 commit comments