Margin between contract block links (#4709)

This commit is contained in:
Jaco Greeff 2021-02-22 11:24:17 +01:00 committed by GitHub
parent 7297d3ba3e
commit ba2dc7e44b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,6 +8,7 @@ import type { BlockNumber, ContractInfo } from '@polkadot/types/interfaces';
import type { ContractLink } from './types';
import React, { useCallback, useEffect, useState } from 'react';
import styled from 'styled-components';
import { ContractPromise } from '@polkadot/api-contract';
import { AddressInfo, AddressMini, Button, Forget } from '@polkadot/react-components';
@ -142,4 +143,8 @@ function Contract ({ className, contract, index, links, onCall }: Props): React.
);
}
export default React.memo(Contract);
export default React.memo(styled(Contract)`
td.top a+a {
margin-left: 0.75rem;
}
`);