Adjust crowdloan media queries (#5512)
* Adjust crowdloan media queries * Adjust
This commit is contained in:
parent
74c6e41341
commit
113653c500
@ -111,7 +111,7 @@ function Fund ({ bestNumber, className, isOngoing, leasePeriod, value: { childKe
|
||||
}
|
||||
</td>
|
||||
<td className='address media--1400'><AddressMini value={depositor} /></td>
|
||||
<td className='all number together media--1100'>
|
||||
<td className='all number together media--1200'>
|
||||
{blocksLeft && (
|
||||
<BlockToTime value={blocksLeft} />
|
||||
)}
|
||||
@ -132,18 +132,18 @@ function Fund ({ bestNumber, className, isOngoing, leasePeriod, value: { childKe
|
||||
/>
|
||||
<div>{percentage}</div>
|
||||
</td>
|
||||
<td className='number'>
|
||||
<td className='number media--1100'>
|
||||
{contributors.length !== 0 && (
|
||||
formatNumber(contributors.length)
|
||||
)}
|
||||
</td>
|
||||
<td className='badge'>
|
||||
<td className='badge media--1000'>
|
||||
<Icon
|
||||
color={myAccounts.length ? 'green' : 'gray'}
|
||||
icon='asterisk'
|
||||
/>
|
||||
</td>
|
||||
<td className='button media--1300'>
|
||||
<td className='button media--1000'>
|
||||
{canWithdraw && contributors.length !== 0 && (
|
||||
<Refund paraId={paraId} />
|
||||
)}
|
||||
|
||||
@ -64,24 +64,24 @@ function Funds ({ bestNumber, className, leasePeriod, value }: Props): React.Rea
|
||||
[t('ongoing'), 'start', 2],
|
||||
[undefined, 'media--800'],
|
||||
[undefined, 'media--1400'],
|
||||
[t('ending'), 'media--1000'],
|
||||
[t('ending'), 'media--1200'],
|
||||
[t('leases')],
|
||||
[t('raised')],
|
||||
[t('count')],
|
||||
[undefined, 'badge'],
|
||||
[undefined, 'media--1300']
|
||||
[t('count'), 'media--1100'],
|
||||
[undefined, 'badge media--1000'],
|
||||
[undefined, 'media--1000']
|
||||
]);
|
||||
|
||||
const headedEndedRef = useRef([
|
||||
[t('completed'), 'start', 2],
|
||||
[undefined, 'media--800'],
|
||||
[undefined, 'media--1400'],
|
||||
[t('ending'), 'media--1000'],
|
||||
[t('ending'), 'media--1200'],
|
||||
[t('leases')],
|
||||
[t('raised')],
|
||||
[t('count')],
|
||||
[undefined, 'badge'],
|
||||
[undefined, 'media--1300']
|
||||
[t('count'), 'media--1100'],
|
||||
[undefined, 'badge media--1000'],
|
||||
[undefined, 'media--1000']
|
||||
]);
|
||||
|
||||
return (
|
||||
|
||||
Loading…
Reference in New Issue
Block a user