Adjust referenda shortHash display (#8609)

This commit is contained in:
Jaco 2022-12-23 15:49:07 +02:00 committed by GitHub
parent 47febcabf8
commit 1b0b37e203
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -97,7 +97,7 @@ function Ongoing ({ isMember, members, palletReferenda, palletVote, ranks, track
withHash
/>
)
: t('preimage {{shortHash}}', { replace: { shortHash } })
: <div className='shortHash'>{shortHash}</div>
}
</td>
<Deposits

View File

@ -399,4 +399,8 @@ export default React.memo(styled(Referendum)`
text-align: center;
}
}
.shortHash {
font: var(--font-mono);
}
`);