Merge pull request #257 from jorilallo/issue-240

Override input font and link targets
This commit is contained in:
Jori Lallo
2017-09-18 20:15:48 -07:00
committed by GitHub
2 changed files with 10 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ import type { Props } from '../types';
export default function Link({ attributes, node, children }: Props) {
return (
<a {...attributes} href={node.data.get('href')}>
<a {...attributes} href={node.data.get('href')} target="_blank">
{children}
</a>
);

View File

@@ -20,9 +20,17 @@ body,
margin: 0;
}
body {
body,
button,
input,
optgroup,
select,
textarea {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
body {
font-size: 16px;
line-height: 1.5;
margin: 0;