ParaLink nowrap

This commit is contained in:
Jaco Greeff 2021-03-25 07:05:29 +01:00
parent 1394913713
commit 25b4d116c9
No known key found for this signature in database
GPG Key ID: 270FB2D05A05357C
6 changed files with 6 additions and 5 deletions

View File

@ -37,7 +37,7 @@ function WinRanges ({ auctionInfo, blockNumber, className = '', isFirst, isLates
)}
</td>
<td className='number'><h1>{formatNumber(paraId)}</h1></td>
<td><ParaLink id={paraId} /></td>
<td className='badge'><ParaLink id={paraId} /></td>
<td className='address'><AddressMini value={accountId} /></td>
<td className='all number'><Digits value={`${formatNumber(leasePeriod.addn(range[0]))} - ${formatNumber(leasePeriod.addn(range[1]))}`} /></td>
<td className='number'><FormatBalance value={value} /></td>

View File

@ -57,7 +57,7 @@ function Fund ({ bestNumber, className, isOngoing, value: { info: { cap, deposit
return (
<tr className={className}>
<td className='number'><h1>{formatNumber(paraId)}</h1></td>
<td><ParaLink id={paraId} /></td>
<td className='badge'><ParaLink id={paraId} /></td>
<td>
{retiring.isTrue
? t<string>('Retiring')

View File

@ -148,7 +148,7 @@ function Parachain ({ bestNumber, className = '', id, lastBacked, lastInclusion,
return (
<tr className={className}>
<td className='number'><h1>{formatNumber(id)}</h1></td>
<td className='badge together'><ParaLink id={id} /></td>
<td className='badge'><ParaLink id={id} /></td>
<td className='number media--1500'>
{validators && validators.length !== 0 && (
<Expander

View File

@ -81,7 +81,7 @@ function Upcoming ({ currentPeriod, id, nextAction }: Props): React.ReactElement
return (
<tr>
<td className='number'><h1>{formatNumber(id)}</h1></td>
<td className='badge together'><ParaLink id={id} /></td>
<td className='badge'><ParaLink id={id} /></td>
<td className='address'>{manager && <AddressSmall value={manager} />}</td>
<td className='start together hash'>{headHex}</td>
<td className='start'>

View File

@ -68,7 +68,7 @@ function Proposal ({ approvedIds, id, scheduled }: Props): React.ReactElement<Pr
/>
)}
</td>
<td className='badge together'><ParaLink id={id} /></td>
<td className='badge'><ParaLink id={id} /></td>
<td className='start together'>{proposal.proposal?.name.toUtf8()}</td>
<td className='address'>
{proposal.proposal?.validators && (

View File

@ -41,6 +41,7 @@ function ParaLink ({ className, id }: Props): React.ReactElement<Props> | null {
export default React.memo(styled(ParaLink)`
vertical-align: middle;
white-space: nowrap;
a.chainAlign {
display: inline-block;