File tree Expand file tree Collapse file tree 2 files changed +21
-8
lines changed
source/renderer/app/components/voting/voting-governance Expand file tree Collapse file tree 2 files changed +21
-8
lines changed Original file line number Diff line number Diff line change 1616 text-transform : uppercase ;
1717}
1818
19+ span .link {
20+ font-size : inherit ;
21+ line-height : inherit ;
22+ opacity : 0.7 ;
23+
24+ & :hover {
25+ opacity : 1 ;
26+ }
27+ }
28+
1929.info {
2030 @extend %regularText ;
2131 p {
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import { observer } from 'mobx-react';
33import { injectIntl , FormattedMessage } from 'react-intl' ;
44import { Input } from 'react-polymorph/lib/components/Input' ;
55import { Button } from 'react-polymorph/lib/components/Button' ;
6+ import { Link } from 'react-polymorph/lib/components/Link' ;
67
78import BigNumber from 'bignumber.js' ;
89import { Cardano } from '@cardano-sdk/core' ;
@@ -182,17 +183,17 @@ function VotingPowerDelegation({
182183 { ...messages . paragraph1 }
183184 values = { {
184185 Link : (
185- < a
186+ < Link
187+ className = { styles . link }
186188 href = { intl . formatMessage ( messages . paragraph1LinkUrl ) }
189+ label = { intl . formatMessage ( messages . paragraph1LinkText ) }
187190 onClick = { ( event ) =>
188191 onExternalLinkClick (
189192 intl . formatMessage ( messages . paragraph1LinkUrl ) ,
190193 event
191194 )
192195 }
193- >
194- { intl . formatMessage ( messages . paragraph1LinkText ) }
195- </ a >
196+ />
196197 ) ,
197198 } }
198199 />
@@ -258,7 +259,11 @@ function VotingPowerDelegation({
258259 : messages . drepInputLabel ) }
259260 values = { {
260261 drepDirectoryLink : (
261- < a
262+ < Link
263+ className = { styles . link }
264+ label = { intl . formatMessage (
265+ messages . drepInputLabelLinkText
266+ ) }
262267 href = "#"
263268 onClick = { ( event ) =>
264269 onExternalLinkClick (
@@ -270,9 +275,7 @@ function VotingPowerDelegation({
270275 event
271276 )
272277 }
273- >
274- { intl . formatMessage ( messages . drepInputLabelLinkText ) }
275- </ a >
278+ />
276279 ) ,
277280 } }
278281 />
You can’t perform that action at this time.
0 commit comments