Remove unicode icons (crappy on FF) (#138)

This commit is contained in:
Jaco Greeff 2019-09-05 16:00:25 +02:00 committed by GitHub
parent 05cd6baf16
commit 1154525111
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 5 deletions

View File

@ -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"
},

View File

@ -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)

View File

@ -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};

View File

@ -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';

View File

@ -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>
);
}