Skip to content
This repository was archived by the owner on Sep 8, 2018. It is now read-only.

Commit 8c50929

Browse files
committed
Fix scaling, include... jquery
1 parent 404c1b3 commit 8c50929

File tree

7 files changed

+11
-9
lines changed

7 files changed

+11
-9
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"private": true,
55
"dependencies": {
66
"d": "^1.0.0",
7+
"jquery": "^3.3.1",
78
"monaco-editor": "^0.12.0",
89
"npm-run-all": "^4.1.2",
910
"react": "^16.3.1",

src/components/ErrorBox.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ export default class ErrorBox extends Component {
1919

2020
ErrorBox.propTypes = {
2121
colour: PropTypes.string,
22-
children: PropTypes.oneOf([PropTypes.string, PropTypes.React])
22+
children: PropTypes.oneOfType([PropTypes.string, PropTypes.children])
2323
}

src/routers/NotFound.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import ErrorBox from './../components/ErrorBox'
33

44
export default class Test extends Component {
55
render () {
6-
return (
6+
return (
77
<main>
88
<ErrorBox colour="red">Not Found</ErrorBox>
99
</main>

src/sass/components/_main.sass

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ main
88
padding: 2em
99
box-sizing: border-box
1010
flex-grow: 1
11-
@media screen and (min-width: 600px)
12-
width: 100%
11+
width: 100%
1312
@media screen and (min-width: 800px)
1413
width: 70%
1514
@media screen and (min-width: 1200px)

src/sass/index.css

Lines changed: 2 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/sass/index.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

yarn.lock

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4215,6 +4215,10 @@ [email protected]:
42154215
dependencies:
42164216
jest-cli "^20.0.4"
42174217

4218+
jquery@^3.3.1:
4219+
version "3.3.1"
4220+
resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.3.1.tgz#958ce29e81c9790f31be7792df5d4d95fc57fbca"
4221+
42184222
js-base64@^2.1.9:
42194223
version "2.4.3"
42204224
resolved "https://registry.yarnpkg.com/js-base64/-/js-base64-2.4.3.tgz#2e545ec2b0f2957f41356510205214e98fad6582"

0 commit comments

Comments
 (0)