File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
ui/pages/confirmations/components/confirm/info/shared/advanced-details Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -105,9 +105,13 @@ exports[`<AdvancedDetails /> renders component for advanced transaction details
105105 style = " height: 1px; margin-left: -8px; margin-right: -8px;"
106106 />
107107 <div
108- class = " mm-box confirm-info-row mm-box--margin-top-2 mm-box--margin-bottom-2 mm-box--padding-right-2 mm-box--padding-left-2 mm-box--display-flex mm-box--flex-direction-row mm-box--flex-wrap-wrap mm-box--justify-content-space-between mm-box--color-text-default mm-box--rounded-lg"
108+ class = " mm-box confirm-info-row mm-box--margin-top-2 mm-box--margin-bottom-2 mm-box--padding-right-5 mm-box--padding-left-2 mm-box--display-flex mm-box--flex-direction-row mm-box--flex-wrap-wrap mm-box--justify-content-space-between mm-box--color-text-default mm-box--rounded-lg"
109109 style = " overflow-wrap: anywhere; min-height: 24px; position: relative;"
110110 >
111+ <span
112+ class = " mm-box mm-icon mm-icon--size-sm mm-box--display-inline-block mm-box--color-icon-alternative"
113+ style = " mask-image: url('./images/icons/copy.svg'); cursor: pointer; position: absolute; right: 0px; top: 2px;"
114+ />
111115 <div
112116 class = " mm-box mm-box--display-flex mm-box--flex-direction-row mm-box--justify-content-center mm-box--align-items-center"
113117 >
Original file line number Diff line number Diff line change @@ -123,7 +123,11 @@ const HexDetails = () => {
123123 return (
124124 < >
125125 < ConfirmInfoRowDivider />
126- < ConfirmInfoRow label = { t ( 'advancedDetailsHexDesc' ) } >
126+ < ConfirmInfoRow
127+ label = { t ( 'advancedDetailsHexDesc' ) }
128+ copyEnabled
129+ copyText = { currentConfirmation . txParams . data || '' }
130+ >
127131 < ConfirmInfoRowText text = { currentConfirmation . txParams . data || '' } />
128132 </ ConfirmInfoRow >
129133 < Box paddingLeft = { 2 } >
You can’t perform that action at this time.
0 commit comments