File tree Expand file tree Collapse file tree
packages/neuron-ui/src/components/Transaction Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,23 +16,25 @@ const inputColumns: IColumn[] = [
1616 key : 'lockHash' ,
1717 name : 'Lock Hash' ,
1818 minWidth : 100 ,
19- maxWidth : 525 ,
20- } ,
21- {
22- key : 'outPointBlockHash' ,
23- name : 'OutPoint BlockHash' ,
24- minWidth : 150 ,
25- onRender : ( item : any ) => < span > { item . previousOutput . blockHash || 'none' } </ span > ,
19+ maxWidth : 200 ,
20+ onRender : ( item : any ) => (
21+ < span title = { item . lockHash || 'none' } className = "text-overflow" >
22+ { item . lockHash || 'none' }
23+ </ span >
24+ ) ,
2625 } ,
2726 {
2827 key : 'outPointCell' ,
2928 name : 'OutPoint Cell' ,
3029 minWidth : 150 ,
31- onRender : ( item : any ) => (
32- < span >
33- { item . previousOutput . cell ? `${ item . previousOutput . cell . txHash } [${ item . previousOutput . cell . index } ]` : 'none' }
34- </ span >
35- ) ,
30+ onRender : ( item : any ) => {
31+ const text = item . previousOutput ? `${ item . previousOutput . txHash } [${ item . previousOutput . index } ]` : 'none'
32+ return (
33+ < span title = { text } className = "text-overflow" >
34+ { text }
35+ </ span >
36+ )
37+ } ,
3638 } ,
3739 {
3840 key : 'capacity' ,
You can’t perform that action at this time.
0 commit comments