diff --git a/package-lock.json b/package-lock.json index df502d24d..7d3574fab 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2067,7 +2067,6 @@ "version": "6.26.0", "resolved": "https://registry.nlark.com/babel-polyfill/download/babel-polyfill-6.26.0.tgz", "integrity": "sha1-N5k3q8Z9eJWXCtxiHyhM2WbPIVM=", - "dev": true, "requires": { "babel-runtime": "^6.26.0", "core-js": "^2.5.0", @@ -2077,8 +2076,7 @@ "regenerator-runtime": { "version": "0.10.5", "resolved": "https://registry.nlark.com/regenerator-runtime/download/regenerator-runtime-0.10.5.tgz", - "integrity": "sha1-M2w+/BIgrc7dosn6tntaeVWjNlg=", - "dev": true + "integrity": "sha1-M2w+/BIgrc7dosn6tntaeVWjNlg=" } } }, diff --git a/package.json b/package.json index fe9e441fc..787f310ce 100644 --- a/package.json +++ b/package.json @@ -113,7 +113,8 @@ "whatwg-fetch": "2.0.3", "wrap-md-editor": "^0.2.20", "xterm": "4.8.1", - "xterm-addon-fit": "0.4.0" + "xterm-addon-fit": "0.4.0", + "babel-polyfill": "^6.26.0" }, "scripts": { "start": "node --max_old_space_size=15360 scripts/start.js", @@ -188,7 +189,6 @@ "babel-core": "^6.26.0", "babel-plugin-import": "^1.13.0", "babel-plugin-transform-runtime": "^6.23.0", - "babel-polyfill": "^6.26.0", "babel-preset-es2015": "^6.24.1", "babel-preset-react": "^6.24.1", "babel-preset-stage-2": "^6.24.1", diff --git a/src/forge/Main/sub/Contribute.jsx b/src/forge/Main/sub/Contribute.jsx index a41cb3ed6..f65b45248 100644 --- a/src/forge/Main/sub/Contribute.jsx +++ b/src/forge/Main/sub/Contribute.jsx @@ -42,7 +42,7 @@ function Contribute(props){
-

贡献者列表

+

贡献者列表

{ list && list.length > 0 ?
diff --git a/src/forge/Main/sub/sub.scss b/src/forge/Main/sub/sub.scss index 362b9f4e0..7c146044a 100644 --- a/src/forge/Main/sub/sub.scss +++ b/src/forge/Main/sub/sub.scss @@ -1,11 +1,13 @@ .boxPanel{ width: 1200px; - margin:0px auto; - padding:20px 0px; + margin:20px auto; + border-radius: 4px; + border:1px solid #eee; min-height: 500px; .contrbuteList{ display: flex; flex-wrap: wrap; + padding:20px; & > div{ width: 20%; }