Remove unicode icons (crappy on FF) (#138)
This commit is contained in:
parent
05cd6baf16
commit
1154525111
@ -27,6 +27,7 @@
|
||||
"lint": "eslint --ext .js,.jsx,.ts,.tsx . && tsc --noEmit --pretty",
|
||||
"clean": "polkadot-dev-clean-build",
|
||||
"postinstall": "polkadot-dev-yarn-only",
|
||||
"start": "yarn watch",
|
||||
"test": "echo \"no tests... yet\"",
|
||||
"watch": "cd packages/extension && webpack --config webpack.config.js --watch"
|
||||
},
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
|
||||
import React, { useContext } from 'react';
|
||||
|
||||
import { AccountContext, Button, Header, Link, Tip, unicode } from '../../components';
|
||||
import { AccountContext, Button, Header, Link, Tip } from '../../components';
|
||||
import Account from './Account';
|
||||
|
||||
export default function Accounts (): React.ReactElement<{}> {
|
||||
@ -14,7 +14,7 @@ export default function Accounts (): React.ReactElement<{}> {
|
||||
<div>
|
||||
<Header
|
||||
label='accounts'
|
||||
labelExtra={<Link to='/settings'>Settings {unicode.FWD}</Link>}
|
||||
labelExtra={<Link to='/settings'>Settings</Link>}
|
||||
/>
|
||||
{
|
||||
(accounts.length === 0)
|
||||
|
||||
@ -28,6 +28,7 @@ export default styled(Link)`
|
||||
color: ${({ isDanger }): string => isDanger ? defaults.linkColorDanger : defaults.linkColor};
|
||||
opacity: 0.9;
|
||||
text-decoration: none;
|
||||
vertical-align: middle;
|
||||
|
||||
&:hover {
|
||||
color: ${({ isDanger }): string => isDanger ? defaults.linkColorDanger : defaults.linkColor};
|
||||
|
||||
@ -19,4 +19,3 @@ export { default as View } from './View';
|
||||
|
||||
export * from './contexts';
|
||||
export { default as defaults } from './defaults';
|
||||
export { default as unicode } from './unicode';
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
import React from 'react';
|
||||
import styled from 'styled-components';
|
||||
|
||||
import { Link, unicode } from '../components';
|
||||
import { Link } from '../components';
|
||||
|
||||
interface Props {
|
||||
className?: string;
|
||||
@ -15,7 +15,7 @@ interface Props {
|
||||
function Back ({ className, to = '/' }: Props): React.ReactElement<Props> {
|
||||
return (
|
||||
<div className={className}>
|
||||
<Link to={to}>{unicode.BACK} Back</Link>
|
||||
<Link to={to}>Back</Link>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user