ParaLink nowrap
This commit is contained in:
parent
1394913713
commit
25b4d116c9
@ -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>
|
||||
|
||||
@ -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')
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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'>
|
||||
|
||||
@ -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 && (
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user