chore: show full vega wallet key for large screen (#854)

Co-authored-by: Rado <rado@vegaprotocol.io>
This commit is contained in:
Radosław Szpiech 2022-07-26 12:57:07 +02:00 committed by GitHub
parent ab7c8dc602
commit f8bc95e3df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,9 +57,10 @@ export const VegaManageDialog = ({
</Button> </Button>
)} )}
<div className="flex justify-between text-ui-small"> <div className="flex justify-between text-ui-small">
<p className="font-mono"> <p className="font-mono block sm:hidden">
{truncateByChars(kp.pub, 23, 23)} {truncateByChars(kp.pub, 23, 23)}
</p> </p>
<p className="font-mono hidden sm:block">{kp.pub}</p>
<CopyWithTooltip text={kp.pub}> <CopyWithTooltip text={kp.pub}>
<button className="underline"> <button className="underline">
<Icon name="duplicate" className="mr-4" /> <Icon name="duplicate" className="mr-4" />