From 6ffc494e338a8a894e35a2416532cb8a371b552b Mon Sep 17 00:00:00 2001 From: jim Date: Wed, 28 Mar 2018 10:14:33 +0800 Subject: [PATCH] Optimized logo style --- package.json | 10 +++++++--- src/components/GlobalHeader/index.js | 1 - src/components/SiderMenu/index.less | 3 ++- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index bb588a27..b2985e36 100755 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "dependencies": { "@antv/data-set": "^0.8.0", "@babel/polyfill": "^7.0.0-beta.36", - "antd": "^3.3.0", + "antd": "^3.3.3", "babel-runtime": "^6.9.2", "bizcharts": "^3.1.3-beta.1", "bizcharts-plugin-slider": "^2.0.1", @@ -59,13 +59,13 @@ "enzyme": "^3.1.0", "eslint": "^4.14.0", "eslint-config-airbnb": "^16.0.0", + "eslint-config-prettier": "^2.9.0", "eslint-plugin-babel": "^4.0.0", "eslint-plugin-compat": "^2.1.0", "eslint-plugin-import": "^2.8.0", "eslint-plugin-jsx-a11y": "^6.0.3", "eslint-plugin-markdown": "^1.0.0-beta.6", "eslint-plugin-react": "^7.0.1", - "eslint-config-prettier": "^2.9.0", "gh-pages": "^1.0.0", "husky": "^0.14.3", "lint-staged": "^6.0.0", @@ -94,5 +94,9 @@ "engines": { "node": ">=8.0.0" }, - "browserslist": ["> 1%", "last 2 versions", "not ie <= 10"] + "browserslist": [ + "> 1%", + "last 2 versions", + "not ie <= 10" + ] } diff --git a/src/components/GlobalHeader/index.js b/src/components/GlobalHeader/index.js index 92591214..a08a3fe3 100644 --- a/src/components/GlobalHeader/index.js +++ b/src/components/GlobalHeader/index.js @@ -1,5 +1,4 @@ import React, { PureComponent } from 'react'; -import Debounce from 'lodash-decorators/debounce'; import { Icon, Divider } from 'antd'; import { Link } from 'dva/router'; import styles from './index.less'; diff --git a/src/components/SiderMenu/index.less b/src/components/SiderMenu/index.less index 9fa1a91a..1259e1ff 100644 --- a/src/components/SiderMenu/index.less +++ b/src/components/SiderMenu/index.less @@ -33,8 +33,9 @@ background-color: white; .logo { background: white; + border: 1px solid #e9e9e9; h1 { - color: #002140; + color: #1890ff; } } } -- GitLab