Skip to content

Commit

Permalink
update font size
Browse files Browse the repository at this point in the history
  • Loading branch information
jljsj33 committed Jun 11, 2019
1 parent 49682c4 commit a69cd2a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .fatherrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ export default {
eslint: true,
prettier: true,
},
doc: {
base: '/editor-jsonschema/',
public: '/editor-jsonschema/',
},
extraBabelPlugins: [
['babel-plugin-import', {
libraryName: 'antd',
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ node_modules
build
lib
coverage
**/*.js
src/**/*.js
tests/*.js
examples/*.js
**/*.jsx
*.map
dist
Expand Down
2 changes: 1 addition & 1 deletion examples/simple.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ export default class Demo extends React.Component<any, any> {
render() {
const selected = 'blockWrapper'.split('&');
return (
<div style={{ width: 240, height: 600 }}>
<div style={{ width: 240, height: 600, fontSize: '14px' }}>
<EditorJSON data={dataSource} schema={schemaJSON} selected={selected} />
</div>
);
Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,12 @@
},
"scripts": {
"build": "father build && tsc",
"build:site": "npm run build && father doc build",
"gh-pages": "father doc deploy",
"gh-pages": "father doc build && father doc deploy",
"start": "father doc dev",
"lint": "tslint --project ./tsconfig.json -c ./tslint.json --fix",
"dev": "father doc dev",
"test": "father test",
"pub": "npm run build:site && npm run gh-pages && npm publish",
"pub": "npm run build && npm run gh-pages && npm publish",
"coverage": "father test --coverage"
},
"dependencies": {
Expand Down

0 comments on commit a69cd2a

Please sign in to comment.